[llvm-commits] [llvm] r60555 - /llvm/trunk/tools/opt/opt.cpp
Devang Patel
dpatel at apple.com
Thu Dec 4 13:40:32 PST 2008
Author: dpatel
Date: Thu Dec 4 15:40:31 2008
New Revision: 60555
URL: http://llvm.org/viewvc/llvm-project?rev=60555&view=rev
Log:
Enable LoopIndexSplit pass.
Modified:
llvm/trunk/tools/opt/opt.cpp
Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=60555&r1=60554&r2=60555&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Thu Dec 4 15:40:31 2008
@@ -311,7 +311,7 @@
MPM.add(createLoopRotatePass()); // Rotate Loop
MPM.add(createLICMPass()); // Hoist loop invariants
MPM.add(createLoopUnswitchPass());
- // MPM.add(createLoopIndexSplitPass()); // Split loop index
+ MPM.add(createLoopIndexSplitPass()); // Split loop index
MPM.add(createInstructionCombiningPass());
MPM.add(createIndVarSimplifyPass()); // Canonicalize indvars
MPM.add(createLoopDeletionPass()); // Delete dead loops
@@ -383,7 +383,7 @@
addPass(PM, createLoopRotatePass());
addPass(PM, createLICMPass()); // Hoist loop invariants
addPass(PM, createLoopUnswitchPass()); // Unswitch loops.
- // addPass(PM, createLoopIndexSplitPass()); // Index split loops.
+ addPass(PM, createLoopIndexSplitPass()); // Index split loops.
// FIXME : Removing instcombine causes nestedloop regression.
addPass(PM, createInstructionCombiningPass());
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
More information about the llvm-commits
mailing list