summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-05-27 04:27:27 +0000
committerOwen Anderson <resistor@mac.com>2008-05-27 04:27:27 +0000
commit9e2abd384045772e5b523b4efdca41acaa24fc3b (patch)
tree228f49475eb292b09f27fcf5182158f09718eff9 /tools
parent6918a9141e93aea51d542fc3e6da332140144f13 (diff)
downloadllvm-9e2abd384045772e5b523b4efdca41acaa24fc3b.tar.gz
llvm-9e2abd384045772e5b523b4efdca41acaa24fc3b.tar.bz2
llvm-9e2abd384045772e5b523b4efdca41acaa24fc3b.tar.xz
Remove ADCE from the optimization pipeline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51581 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index e3ea59e26b..a37e89999b 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -296,7 +296,7 @@ void AddStandardCompilePasses(PassManager &PM) {
addPass(PM, createCondPropagationPass()); // Propagate conditionals
addPass(PM, createDeadStoreEliminationPass()); // Delete dead stores
- addPass(PM, createAggressiveDCEPass()); // SSA based 'Aggressive DCE'
+ addPass(PM, createDeadCodeEliminationPass()); // Delete dead instructions
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
addPass(PM, createStripDeadPrototypesPass()); // Get rid of dead prototypes
addPass(PM, createDeadTypeEliminationPass()); // Eliminate dead types