mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Enable dead loop elimination.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
88c1baa50c
commit
3f3d95c75a
@ -282,6 +282,7 @@ void AddStandardCompilePasses(PassManager &PM) {
|
||||
addPass(PM, createLoopIndexSplitPass()); // Index split loops.
|
||||
addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
|
||||
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
|
||||
addPass(PM, createLoopDeletionPass()); // Remove dead loops
|
||||
addPass(PM, createLoopUnrollPass()); // Unroll small loops
|
||||
addPass(PM, createInstructionCombiningPass()); // Clean up after the unroller
|
||||
addPass(PM, createGVNPass()); // Remove redundancies
|
||||
|
Loading…
x
Reference in New Issue
Block a user