[llvm-commits] [llvm] r121311 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Jim Grosbach
grosbach at apple.com
Wed Dec 8 15:13:01 PST 2010
Author: grosbach
Date: Wed Dec 8 17:13:01 2010
New Revision: 121311
URL: http://llvm.org/viewvc/llvm-project?rev=121311&view=rev
Log:
T2TwoRegImm isn't right for t2SUBrSPi12. Use T2I instead.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=121311&r1=121310&r2=121311&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Wed Dec 8 17:13:01 2010
@@ -1193,7 +1193,7 @@
let Inst{19-16} = 0b1101; // Rn = sp
let Inst{15} = 0;
}
-def t2SUBrSPi12 : T2TwoRegImm<(outs GPR:$Rd), (ins GPR:$sp, imm0_4095:$imm),
+def t2SUBrSPi12 : T2I<(outs GPR:$Rd), (ins GPR:$sp, imm0_4095:$imm),
IIC_iALUi, "subw", "\t$Rd, $sp, $imm", []> {
bits<4> Rd;
bits<12> imm;
More information about the llvm-commits
mailing list