T2TwoRegImm isn't right for t2SUBrSPi12. Use T2I instead.

llvm-svn: 121311
This commit is contained in:
Jim Grosbach 2010-12-08 23:13:01 +00:00
parent fd0e4c0fe9
commit e829c674bb
1 changed files with 1 additions and 1 deletions

View File

@ -1193,7 +1193,7 @@ def t2SUBrSPi : T2sTwoRegImm<(outs GPR:$Rd), (ins GPR:$sp, t2_so_imm:$imm),
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;