diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-12-03 23:21:25 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-12-03 23:21:25 +0000 |
commit | 1b555d9f960e54e9e685585435daf63d89c88a56 (patch) | |
tree | 982a87aecb042d564aa9926e5b854e53a9847f1e | |
parent | 4fa102b84e6e0ec889e99ef7ab3c05885a3e4cb1 (diff) |
Match pattern operand names to expected encoding field names. This corrects the
operand encoding ordering of the instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120852 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index d045191c92..76c8c763f8 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -931,8 +931,8 @@ def tCMPhir : T1pI<(outs), (ins GPR:$Rn, GPR:$Rm), IIC_iCMPr, let Inst{6-3} = Rm; let Inst{2-0} = Rn{2-0}; } -def tCMPzhir : T1pI<(outs), (ins GPR:$lhs, GPR:$rhs), IIC_iCMPr, - "cmp", "\t$lhs, $rhs", []>, +def tCMPzhir : T1pI<(outs), (ins GPR:$Rn, GPR:$Rm), IIC_iCMPr, + "cmp", "\t$Rn, $Rm", []>, T1Special<{0,1,?,?}> { // A8.6.36 T2 bits<4> Rm; |