OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37474e6
)
T2TwoRegImm isn't right for t2SUBrSPi12. Use T2I instead.
author
Jim Grosbach
<grosbach@apple.com>
Wed, 8 Dec 2010 23:13:01 +0000
(23:13 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Wed, 8 Dec 2010 23:13:01 +0000
(23:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121311
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrThumb2.td
b/lib/Target/ARM/ARMInstrThumb2.td
index
108a96e
..
597ef72
100644
(file)
--- a/
lib/Target/ARM/ARMInstrThumb2.td
+++ b/
lib/Target/ARM/ARMInstrThumb2.td
@@
-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 : T2
TwoRegImm
<(outs GPR:$Rd), (ins GPR:$sp, imm0_4095:$imm),
+def t2SUBrSPi12 : T2
I
<(outs GPR:$Rd), (ins GPR:$sp, imm0_4095:$imm),
IIC_iALUi, "subw", "\t$Rd, $sp, $imm", []> {
bits<4> Rd;
bits<12> imm;