diff options
author | Owen Anderson <resistor@mac.com> | 2008-05-27 04:27:27 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-05-27 04:27:27 +0000 |
commit | 9e2abd384045772e5b523b4efdca41acaa24fc3b (patch) | |
tree | 228f49475eb292b09f27fcf5182158f09718eff9 /tools | |
parent | 6918a9141e93aea51d542fc3e6da332140144f13 (diff) | |
download | external_llvm-9e2abd384045772e5b523b4efdca41acaa24fc3b.zip external_llvm-9e2abd384045772e5b523b4efdca41acaa24fc3b.tar.gz external_llvm-9e2abd384045772e5b523b4efdca41acaa24fc3b.tar.bz2 |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index e3ea59e..a37e899 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 |