Misseed thumb jumptable branch.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 30 Jan 2007 08:03:06 +0000 (08:03 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 30 Jan 2007 08:03:06 +0000 (08:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33656 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.cpp

index 3fc1a033cfa559fbbfbf825c15720ac687324f97..86b55a6c546768fe9e0d1f3c12514177aefc87de 100644 (file)
@@ -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.