[llvm-commits] [llvm] r51669 - /llvm/trunk/tools/opt/opt.cpp
Owen Anderson
resistor at mac.com
Thu May 29 01:48:21 PDT 2008
Author: resistor
Date: Thu May 29 03:48:21 2008
New Revision: 51669
URL: http://llvm.org/viewvc/llvm-project?rev=51669&view=rev
Log:
Re-enable the newly simplified ADCE. This fixes a regression on
Dhrystone introduced by its removal.
Modified:
llvm/trunk/tools/opt/opt.cpp
Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=51669&r1=51668&r2=51669&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Thu May 29 03:48:21 2008
@@ -296,7 +296,7 @@
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
More information about the llvm-commits
mailing list