aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-11-12 07:39:39 +0000
committerOwen Anderson <resistor@mac.com>2007-11-12 07:39:39 +0000
commit20ab29068d8a8ec31f26f022634f1e0bc4b1da56 (patch)
tree075ab2b15d357226cd3cefa2ca5c9540bdeb3dc8 /lib/Target/ARM
parentf2fbca68f868122d6df0bfc9952b4e4c3dfb60b7 (diff)
downloadexternal_llvm-20ab29068d8a8ec31f26f022634f1e0bc4b1da56.zip
external_llvm-20ab29068d8a8ec31f26f022634f1e0bc4b1da56.tar.gz
external_llvm-20ab29068d8a8ec31f26f022634f1e0bc4b1da56.tar.bz2
Add a flag for indirect branch instructions.
Target maintainers: please check that the instructions for your target are correctly marked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 8e59848..8ff610e 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -773,7 +773,7 @@ let isBranch = 1, isTerminator = 1 in {
def B : AXI<0xA, (outs), (ins brtarget:$target), Branch, "b $target",
[(br bb:$target)]>;
- let isNotDuplicable = 1 in {
+ let isNotDuplicable = 1, isIndirectBranch = 1 in {
def BR_JTr : JTI<0x0, (outs), (ins GPR:$target, jtblock_operand:$jt, i32imm:$id),
"mov pc, $target \n$jt",
[(ARMbrjt GPR:$target, tjumptable:$jt, imm:$id)]>;