summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-11-14 21:33:37 +0000
committerJim Grosbach <grosbach@apple.com>2009-11-14 21:33:37 +0000
commite07594df4598131a39fc54194f5df1eb898d2c8d (patch)
treeec561821bd1e2e987ca069637771a745fb7e46c9 /llvm/lib/Target
parent461a2c064078d0cca4959dd6b6fa09e59cc70547 (diff)
downloadbcm5719-llvm-e07594df4598131a39fc54194f5df1eb898d2c8d.tar.gz
bcm5719-llvm-e07594df4598131a39fc54194f5df1eb898d2c8d.zip
cleanup.
llvm-svn: 88812
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMConstantIslandPass.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
index bb690643d4d..8279888dfac 100644
--- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -48,7 +48,7 @@ STATISTIC(NumJTInserted, "Number of jump table intermediate blocks inserted");
static cl::opt<bool>
-AdjustJumpTableBlocks("arm-adjust-jump-tables", cl::Hidden, cl::init(false),
+AdjustJumpTableBlocks("arm-adjust-jump-tables", cl::Hidden, cl::init(true),
cl::desc("Adjust basic block layout to better use TB[BH]"));
namespace {
@@ -1792,8 +1792,6 @@ AdjustJTTargetBlockForward(MachineBasicBlock *BB, MachineBasicBlock *JTBB)
MachineFunction::iterator MBBI = JTBB; ++MBBI;
MF.insert(MBBI, NewBB);
- //MF.splice(MBBI, NewBB, NewBB);
-
// Add an unconditional branch from NewBB to BB.
// There doesn't seem to be meaningful DebugInfo available; this doesn't
// correspond directly to anything in the source.
OpenPOWER on IntegriCloud