[llvm-commits] [llvm] r41714 - /llvm/trunk/tools/opt/opt.cpp
Devang Patel
dpatel at apple.com
Tue Sep 4 13:46:58 PDT 2007
Author: dpatel
Date: Tue Sep 4 15:46:58 2007
New Revision: 41714
URL: http://llvm.org/viewvc/llvm-project?rev=41714&view=rev
Log:
Enable loop index split 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=41714&r1=41713&r2=41714&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Tue Sep 4 15:46:58 2007
@@ -277,6 +277,7 @@
addPass(PM, createLoopRotatePass());
addPass(PM, createLICMPass()); // Hoist loop invariants
addPass(PM, createLoopUnswitchPass()); // Unswitch loops.
+ addPass(PM, createLoopIndexSplitPass()); // Index split loops.
addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
addPass(PM, createLoopUnrollPass()); // Unroll small loops
More information about the llvm-commits
mailing list