[llvm-commits] [llvm] r119954 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Eric Christopher
echristo at apple.com
Sun Nov 21 15:38:20 PST 2010
Author: echristo
Date: Sun Nov 21 17:38:19 2010
New Revision: 119954
URL: http://llvm.org/viewvc/llvm-project?rev=119954&view=rev
Log:
Pseudos default to 4byte size, let the instruction size field notice
that branch tables are special.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=119954&r1=119953&r2=119954&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Sun Nov 21 17:38:19 2010
@@ -1455,7 +1455,9 @@
(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
More information about the llvm-commits
mailing list