From 9d89311df8e188ce55faad3e49842c7f8d6a0818 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sun, 21 Nov 2010 23:38:19 +0000 Subject: [PATCH] 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 --- lib/Target/ARM/ARMInstrInfo.td | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 4e4fb2e990d..588ff8a7a39 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 -- 2.11.0