From: Owen Anderson Date: Tue, 27 May 2008 04:27:27 +0000 (+0000) Subject: Remove ADCE from the optimization pipeline. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9e2abd384045772e5b523b4efdca41acaa24fc3b;p=oota-llvm.git Remove ADCE from the optimization pipeline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51581 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index e3ea59e26bf..a37e89999b7 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