Enable loop index split pass.

llvm-svn: 41714
This commit is contained in:
Devang Patel 2007-09-04 20:46:58 +00:00
parent f6ef552f3d
commit 42e2abe0e8
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ void AddStandardCompilePasses(PassManager &PM) {
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