cleanup.
authorJim Grosbach <grosbach@apple.com>
Sat, 14 Nov 2009 21:33:37 +0000 (21:33 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 14 Nov 2009 21:33:37 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88812 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMConstantIslandPass.cpp

index bb690643d4d6bd52fce87efb4fee9dea908e52b2..8279888dfacf71426585a367301fab8f1ad01e5e 100644 (file)
@@ -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.