diff options
| author | Justin Bogner <mail@justinbogner.com> | 2016-04-22 19:40:41 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2016-04-22 19:40:41 +0000 |
| commit | 395c2127ed4dd630ed6ebb6ed4d3877b04126f98 (patch) | |
| tree | a858aec098fc9cecfc0e2f6006b71eda1aefa8df /llvm/lib/LTO | |
| parent | 8bf71066c5a7826b775d652e65cc35ce6308d3be (diff) | |
| download | bcm5719-llvm-395c2127ed4dd630ed6ebb6ed4d3877b04126f98.tar.gz bcm5719-llvm-395c2127ed4dd630ed6ebb6ed4d3877b04126f98.zip | |
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
Diffstat (limited to 'llvm/lib/LTO')
| -rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index 64d708ec2b0..12bc05c3701 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/lib/LTO/LTOCodeGenerator.cpp @@ -117,7 +117,7 @@ void LTOCodeGenerator::initializeLTOPasses() { initializeMergedLoadStoreMotionPass(R); initializeGVNLegacyPassPass(R); initializeMemCpyOptPass(R); - initializeDCEPass(R); + initializeDCELegacyPassPass(R); initializeCFGSimplifyPassPass(R); } |

