From 23606e35ab48ab106ca0fcd29338349d5d77f54a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 24 Jul 2009 18:20:16 +0000 Subject: [PATCH] Clean up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76984 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/Thumb2InstrInfo.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Target/ARM/Thumb2InstrInfo.cpp b/lib/Target/ARM/Thumb2InstrInfo.cpp index 4202b0151bf..f1ac2219762 100644 --- a/lib/Target/ARM/Thumb2InstrInfo.cpp +++ b/lib/Target/ARM/Thumb2InstrInfo.cpp @@ -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;