From: Jim Grosbach Date: Sat, 14 Nov 2009 21:33:37 +0000 (+0000) Subject: cleanup. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9c477f54f3c3e2541205f24bfe89b22da7b6e096;p=oota-llvm.git cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88812 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index bb690643d4d..8279888dfac 100644 --- a/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -48,7 +48,7 @@ STATISTIC(NumJTInserted, "Number of jump table intermediate blocks inserted"); static cl::opt -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.