[PM] Port EarlyCSE to the new pass manager.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 10:51:23 +0000 (10:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 10:51:23 +0000 (10:51 +0000)
commit80c55f265d1a68b7f03845a3e9356447f7d258c8
treee374d88b98aa80fb781b972004f0246cb40e073f
parent795e721a721e2594136fa6682fa370631722da37
[PM] Port EarlyCSE to the new pass manager.

I've added RUN lines both to the basic test for EarlyCSE and the
target-specific test, as this serves as a nice test that the TTI layer
in the new pass manager is in fact working well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227725 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar/EarlyCSE.h [new file with mode: 0644]
lib/Transforms/Scalar/EarlyCSE.cpp
test/Transforms/EarlyCSE/AArch64/intrinsics.ll
test/Transforms/EarlyCSE/basic.ll
tools/opt/PassRegistry.def
tools/opt/Passes.cpp