[llvm-commits] [llvm] r76984 - /llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Fri Jul 24 11:20:16 PDT 2009
Author: evancheng
Date: Fri Jul 24 13:20:16 2009
New Revision: 76984
URL: http://llvm.org/viewvc/llvm-project?rev=76984&view=rev
Log:
Clean up.
Modified:
llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp?rev=76984&r1=76983&r2=76984&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp Fri Jul 24 13:20:16 2009
@@ -61,19 +61,17 @@
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;
More information about the llvm-commits
mailing list