mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 20:29:30 +00:00
Remove the InstructionSimplifierPass immediately after InstructionCombiningPass.
InstructionCombiningPass was added after LoopUnrollPass in r237395. Because InstructionCombiningPass is strictly more powerful than InstructionSimplifierPass, remove the unnecessary InstructionSimplifierPass. Differential Revision: http://reviews.llvm.org/D9838 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42737039d5
commit
51891f2364
@ -385,10 +385,6 @@ void PassManagerBuilder::populateModulePassManager(
|
||||
// LoopUnroll may generate some redundency to cleanup.
|
||||
MPM.add(createInstructionCombiningPass());
|
||||
|
||||
// This is a barrier pass to avoid combine LICM pass and loop unroll pass
|
||||
// within same loop pass manager.
|
||||
MPM.add(createInstructionSimplifierPass());
|
||||
|
||||
// Runtime unrolling will introduce runtime check in loop prologue. If the
|
||||
// unrolled loop is a inner loop, then the prologue will be inside the
|
||||
// outer loop. LICM pass can help to promote the runtime check out if the
|
||||
|
Loading…
x
Reference in New Issue
Block a user