aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-11-21 23:38:19 +0000
committerEric Christopher <echristo@apple.com>2010-11-21 23:38:19 +0000
commit9d89311df8e188ce55faad3e49842c7f8d6a0818 (patch)
tree4cf954a429bd95c9961d12d8deb82c608e63d745
parent4b04713423c6da988db75c7546baa3db7ddfa119 (diff)
Pseudos default to 4byte size, let the instruction size field notice
that branch tables are special. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119954 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 4e4fb2e990..588ff8a7a3 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -1455,7 +1455,9 @@ let isBranch = 1, isTerminator = 1 in {
(ins GPR:$target, GPR:$idx, jtblock_operand:$jt, i32imm:$id),
IIC_Br,
[(ARMbrjt (add GPR:$target, GPR:$idx), tjumptable:$jt,
- imm:$id)]>;
+ imm:$id)]> {
+ let SZ = SizeSpecial;
+ }
} // isNotDuplicable = 1, isIndirectBranch = 1
} // isBarrier = 1