diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-24 18:20:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-24 18:20:16 +0000 |
commit | 23606e35ab48ab106ca0fcd29338349d5d77f54a (patch) | |
tree | 63cd710fd0a2919906d60c712dc50c0b18414179 | |
parent | c324ecb7bc93a1f09db29851438ec5ee72b143eb (diff) |
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76984 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/Thumb2InstrInfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/ARM/Thumb2InstrInfo.cpp b/lib/Target/ARM/Thumb2InstrInfo.cpp index 4202b0151b..f1ac221976 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; |