summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMInstrInfo.cpp
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
commitce8fa3ed83260327cfa7cab1f376149acddfc8ca (patch)
treea1ca994e228f2f4306b5d9cb919894222851178e /llvm/lib/Target/ARM/ARMInstrInfo.cpp
parent6ebc06f70284958a22ab9680e5e5ff21368821d4 (diff)
downloadbcm5719-llvm-ce8fa3ed83260327cfa7cab1f376149acddfc8ca.tar.gz
bcm5719-llvm-ce8fa3ed83260327cfa7cab1f376149acddfc8ca.zip
Misseed thumb jumptable branch.
llvm-svn: 33656
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp
index 3fc1a033cfa..86b55a6c546 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud