From: Jim Grosbach Date: Mon, 29 Nov 2010 18:53:24 +0000 (+0000) Subject: The ARM BR_JT* pseudos don't need to use the printer jtblock_operand node to X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=11fbff8085850a112ec50a6ba5c3bb4de37b432b;p=oota-llvm.git The ARM BR_JT* pseudos don't need to use the printer jtblock_operand node to get the pretty-printer. That's handled explicityly by the MC lowering now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120305 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index dbd27016052..e09170f631a 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -1429,22 +1429,22 @@ let isBranch = 1, isTerminator = 1 in { let isNotDuplicable = 1, isIndirectBranch = 1 in { def BR_JTr : ARMPseudoInst<(outs), - (ins GPR:$target, jtblock_operand:$jt, i32imm:$id), - IIC_Br,// "mov\tpc, $target$jt", + (ins GPR:$target, i32imm:$jt, i32imm:$id), + IIC_Br, [(ARMbrjt GPR:$target, tjumptable:$jt, imm:$id)]> { let SZ = SizeSpecial; } // FIXME: This shouldn't use the generic "addrmode2," but rather be split // into i12 and rs suffixed versions. def BR_JTm : ARMPseudoInst<(outs), - (ins addrmode2:$target, jtblock_operand:$jt, i32imm:$id), + (ins addrmode2:$target, i32imm:$jt, i32imm:$id), IIC_Br, [(ARMbrjt (i32 (load addrmode2:$target)), tjumptable:$jt, imm:$id)]> { let SZ = SizeSpecial; } def BR_JTadd : ARMPseudoInst<(outs), - (ins GPR:$target, GPR:$idx, jtblock_operand:$jt, i32imm:$id), + (ins GPR:$target, GPR:$idx, i32imm:$jt, i32imm:$id), IIC_Br, [(ARMbrjt (add GPR:$target, GPR:$idx), tjumptable:$jt, imm:$id)]> {