Remove ADCE from the optimization pipeline.

llvm-svn: 51581
This commit is contained in:
Owen Anderson 2008-05-27 04:27:27 +00:00
parent 230db50d91
commit 9a9030f206

View File

@ -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