diff options
author | Wei Mi <wmi@google.com> | 2015-05-19 16:09:11 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2015-05-19 16:09:11 +0000 |
commit | 6a671635e603b09842ad0ac16883c40a0ed14859 (patch) | |
tree | d0062dd9a7302b3d86fbb9abeb54ff79420b8060 /llvm/lib/Transforms | |
parent | e03171863d4c27816288b0636b8ba08750407821 (diff) | |
download | bcm5719-llvm-6a671635e603b09842ad0ac16883c40a0ed14859.tar.gz bcm5719-llvm-6a671635e603b09842ad0ac16883c40a0ed14859.zip |
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
llvm-svn: 237702
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 3b21d3f0cb1..3496a663f53 100644 --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -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 |