diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-29 18:53:24 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-29 18:53:24 +0000 |
commit | 11fbff8085850a112ec50a6ba5c3bb4de37b432b (patch) | |
tree | 01c871890655c12861510f8cbc16d730a3180f0f | |
parent | 3cc52ea33c0b96d1682f14fc45c45b57df0f39b6 (diff) |
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
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index dbd2701605..e09170f631 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)]> { |