From 78628c7f320fa2c95d516830b398a21d0e18a8d2 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 30 Jan 2007 08:03:06 +0000 Subject: [PATCH] Misseed thumb jumptable branch. llvm-svn: 33656 --- lib/Target/ARM/ARMInstrInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp index 3fc1a033cfa..86b55a6c546 100644 --- a/lib/Target/ARM/ARMInstrInfo.cpp +++ b/lib/Target/ARM/ARMInstrInfo.cpp @@ -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.