Clean up.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 24 Jul 2009 18:20:16 +0000 (18:20 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 24 Jul 2009 18:20:16 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76984 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/Thumb2InstrInfo.cpp

index 4202b0151bfa5c2affd287ccb755ee6a3b4b644d..f1ac22197628ff94241cb342ba6fd888ec32c96e 100644 (file)
@@ -61,19 +61,17 @@ bool
 Thumb2InstrInfo::BlockHasNoFallThrough(const MachineBasicBlock &MBB) const {
   if (MBB.empty()) return false;
 
-  // FIXME
   switch (MBB.back().getOpcode()) {
   case ARM::t2LDM_RET:
   case ARM::t2B:        // Uncond branch.
   case ARM::t2BR_JTr:   // Jumptable branch.
   case ARM::t2BR_JTm:   // Jumptable branch through mem.
   case ARM::t2BR_JTadd: // Jumptable branch add to pc.
-    return true;
+  case ARM::tBR_JTr:    // Jumptable branch (16-bit version).
   case ARM::tBX_RET:
   case ARM::tBX_RET_vararg:
   case ARM::tPOP_RET:
   case ARM::tB:
-  case ARM::tBR_JTr:
     return true;
   default:
     break;