[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)
commite8c686aa867eafa9c6e5639c515228dcb65fe807
tree0e1fbe992e893dbdb2237972aeace8008d404a3a
parent9f8d9b613c14af8300a61f71dc4a412e6a52ade5
[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.

llvm-svn: 227725
llvm/include/llvm/Transforms/Scalar/EarlyCSE.h [new file with mode: 0644]
llvm/lib/Transforms/Scalar/EarlyCSE.cpp
llvm/test/Transforms/EarlyCSE/AArch64/intrinsics.ll
llvm/test/Transforms/EarlyCSE/basic.ll
llvm/tools/opt/PassRegistry.def
llvm/tools/opt/Passes.cpp