PM: Port DCE to the new pass manager
authorJustin Bogner <mail@justinbogner.com>
Fri, 22 Apr 2016 19:40:41 +0000 (19:40 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 22 Apr 2016 19:40:41 +0000 (19:40 +0000)
commit395c2127ed4dd630ed6ebb6ed4d3877b04126f98
treea858aec098fc9cecfc0e2f6006b71eda1aefa8df
parent8bf71066c5a7826b775d652e65cc35ce6308d3be
PM: Port DCE to the new pass manager

Also add a very basic test, since apparently there aren't any tests
for DCE whatsoever to add the new pass version to.

llvm-svn: 267196
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/Scalar/DCE.h [new file with mode: 0644]
llvm/lib/LTO/LTOCodeGenerator.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Scalar/DCE.cpp
llvm/lib/Transforms/Scalar/Scalar.cpp
llvm/test/Transforms/DCE/basic.ll [new file with mode: 0644]