OSDN Git Service

Pseudos default to 4byte size, let the instruction size field notice
authorEric Christopher <echristo@apple.com>
Sun, 21 Nov 2010 23:38:19 +0000 (23:38 +0000)
committerEric Christopher <echristo@apple.com>
Sun, 21 Nov 2010 23:38:19 +0000 (23:38 +0000)
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

index 4e4fb2e..588ff8a 100644 (file)
@@ -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