Remove the InstructionSimplifierPass immediately after InstructionCombiningPass.
authorWei Mi <wmi@google.com>
Tue, 19 May 2015 16:09:11 +0000 (16:09 +0000)
committerWei Mi <wmi@google.com>
Tue, 19 May 2015 16:09:11 +0000 (16:09 +0000)
commit51891f2364054225b0867009420a2be9603264e8
tree6816062f05f1016c4e5a0d522b5ec4c5ecf3fb9c
parent42737039d5b28ff5de624360f1c17fff509664ee
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
lib/Transforms/IPO/PassManagerBuilder.cpp