summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-01-25 19:43:52 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-01-25 19:43:52 +0000
commit417260dc1183af33067d4f3d7ed23dc669d53223 (patch)
tree183565165ee9815338d886dee75ea1c5b4318f10
parent79f08506f1d45c577bc8423368fee6ed3cb04304 (diff)
downloadbcm5719-llvm-417260dc1183af33067d4f3d7ed23dc669d53223.tar.gz
bcm5719-llvm-417260dc1183af33067d4f3d7ed23dc669d53223.zip
Doh. Skip JT branches.
llvm-svn: 33501
-rw-r--r--llvm/lib/Target/ARM/ARMConstantIslandPass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
index dccf8240a90..763a47cb44a 100644
--- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -238,7 +238,8 @@ void ARMConstantIslands::InitialFunctionScan(MachineFunction &Fn,
unsigned Scale = 1;
int UOpc = Opc;
switch (Opc) {
- default: break; // Ignore JT branches
+ default:
+ continue; // Ignore JT branches
case ARM::Bcc:
isCond = true;
UOpc = ARM::B;
OpenPOWER on IntegriCloud