commit | 4c769c3c06d763b4db82231211c80d5aa9be45b5 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Jul 16 20:58:34 2009 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Jul 16 20:58:34 2009 +0000 |
tree | d0fab0c87edcb0916f1a2e0733d49895c4161336 | |
parent | 6dbb7f62ad93f4034dff2825dd4d1f33c667cc5a [diff] |
Teach MachineInstr::isRegTiedToDefOperand() to correctly parse inline asm operands. The inline asm operands must be parsed from the first flag, you cannot assume that an immediate operand preceeding a register use operand is the flag. PowerPC "m" operands are represented as (flag, imm, reg) triples. isRegTiedToDefOperand() would incorrectly interpret the imm as the flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76101 91177308-0d34-0410-b5e6-96231b3b80d8