Add encoding bits "let Inst{11-4} = 0b00000000;" to BR_JTr to disambiguate
authorJohnny Chen <johnny.chen@apple.com>
Mon, 14 Dec 2009 21:51:34 +0000 (21:51 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Mon, 14 Dec 2009 21:51:34 +0000 (21:51 +0000)
between BR_JTr and STREXD.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91339 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index 4527a90b326288a8cc7d5b66b755ecdc7f161689..e14696a140da7e93cee0d9d008b0ccece85589fc 100644 (file)
@@ -786,6 +786,7 @@ let isBranch = 1, isTerminator = 1 in {
   def BR_JTr : JTI<(outs), (ins GPR:$target, jtblock_operand:$jt, i32imm:$id),
                     IIC_Br, "mov\tpc, $target \n$jt",
                     [(ARMbrjt GPR:$target, tjumptable:$jt, imm:$id)]> {
+    let Inst{11-4}  = 0b00000000;
     let Inst{15-12} = 0b1111;
     let Inst{20}    = 0; // S Bit
     let Inst{24-21} = 0b1101;