summaryrefslogtreecommitdiffstats
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
commit698e72ec2ce2e0d006b467855f3532f2d09235c3 (patch)
tree7dff0b1ebde8ffda8fdd77d01fc0eca6e27001ba
parentac0285a6837fa990532a997bba7b44e373d3f1d4 (diff)
downloadbcm5719-llvm-698e72ec2ce2e0d006b467855f3532f2d09235c3.tar.gz
bcm5719-llvm-698e72ec2ce2e0d006b467855f3532f2d09235c3.zip
Remove ADCE from the optimization pipeline.
llvm-svn: 51581
-rw-r--r--llvm/tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index e3ea59e26bf..a37e89999b7 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud