aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-01-30 08:03:06 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-01-30 08:03:06 +0000
commitc322a9ac146358c09279e59846872565a8b01b50 (patch)
treeec97d42fccc52ea1a89ed94978f0a78496595839
parentc1f32a5f4e07986ac93b1f5ea8d810e0617a9563 (diff)
Misseed thumb jumptable branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33656 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp
index 3fc1a033cf..86b55a6c54 100644
--- a/lib/Target/ARM/ARMInstrInfo.cpp
+++ b/lib/Target/ARM/ARMInstrInfo.cpp
@@ -404,6 +404,7 @@ bool ARMInstrInfo::BlockHasNoFallThrough(MachineBasicBlock &MBB) const {
switch (MBB.back().getOpcode()) {
case ARM::B:
case ARM::tB: // Uncond branch.
+ case ARM::tBR_JTr:
case ARM::BR_JTr: // Jumptable branch.
case ARM::BR_JTm: // Jumptable branch through mem.
case ARM::BR_JTadd: // Jumptable branch add to pc.