[llvm-commits] [llvm] r120852 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
Jim Grosbach
grosbach at apple.com
Fri Dec 3 15:21:25 PST 2010
Author: grosbach
Date: Fri Dec 3 17:21:25 2010
New Revision: 120852
URL: http://llvm.org/viewvc/llvm-project?rev=120852&view=rev
Log:
Match pattern operand names to expected encoding field names. This corrects the
operand encoding ordering of the instruction.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb.td?rev=120852&r1=120851&r2=120852&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb.td Fri Dec 3 17:21:25 2010
@@ -931,8 +931,8 @@
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;
More information about the llvm-commits
mailing list