diff options
author | Owen Anderson <resistor@mac.com> | 2008-05-29 08:48:21 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-05-29 08:48:21 +0000 |
commit | c5b271072ec3bbc9dc1978f1af60aeb1d8b7328b (patch) | |
tree | 6c6f08d96181bc019d908afb0a3740758ffc97dc | |
parent | 038a8746c96f2290c3e7127883b00fafb223b799 (diff) | |
download | external_llvm-c5b271072ec3bbc9dc1978f1af60aeb1d8b7328b.zip external_llvm-c5b271072ec3bbc9dc1978f1af60aeb1d8b7328b.tar.gz external_llvm-c5b271072ec3bbc9dc1978f1af60aeb1d8b7328b.tar.bz2 |
Re-enable the newly simplified ADCE. This fixes a regression on
Dhrystone introduced by its removal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51669 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index a37e899..19dcb2b 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, createDeadCodeEliminationPass()); // Delete dead instructions + addPass(PM, createAggressiveDCEPass()); // Delete dead instructions addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createStripDeadPrototypesPass()); // Get rid of dead prototypes addPass(PM, createDeadTypeEliminationPass()); // Eliminate dead types |