BR_JTadd is ARM-only, so use the proper pseudo class to get the predicate.
authorJim Grosbach <grosbach@apple.com>
Sun, 21 Nov 2010 01:26:01 +0000 (01:26 +0000)
committerJim Grosbach <grosbach@apple.com>
Sun, 21 Nov 2010 01:26:01 +0000 (01:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119918 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index c1ac9c56c39fe66f02d4a6f8886e29b1eeb4acb1..4a142c631c746c6c24ea84fa35dcf1694f51a91f 100644 (file)
@@ -1454,7 +1454,7 @@ let isBranch = 1, isTerminator = 1 in {
       let Inst{24}    = 1; // P bit
       let Inst{27-25} = 0b011;
     }
-    def BR_JTadd : PseudoInst<(outs),
+    def BR_JTadd : ARMPseudoInst<(outs),
                    (ins GPR:$target, GPR:$idx, jtblock_operand:$jt, i32imm:$id),
                    IIC_Br,
                    [(ARMbrjt (add GPR:$target, GPR:$idx), tjumptable:$jt,