summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-04-22 19:40:41 +0000
committerJustin Bogner <mail@justinbogner.com>2016-04-22 19:40:41 +0000
commit395c2127ed4dd630ed6ebb6ed4d3877b04126f98 (patch)
treea858aec098fc9cecfc0e2f6006b71eda1aefa8df /llvm/lib/LTO
parent8bf71066c5a7826b775d652e65cc35ce6308d3be (diff)
downloadbcm5719-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.cpp2
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);
}
OpenPOWER on IntegriCloud