forked from OSchip/llvm-project
parent
f6ef552f3d
commit
42e2abe0e8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue