[llvm-commits] [llvm] r39986 - in /llvm/trunk/tools: llvm-ld/Optimize.cpp opt/opt.cpp
Owen Anderson
resistor at mac.com
Tue Jul 17 14:59:22 PDT 2007
Author: resistor
Date: Tue Jul 17 16:59:21 2007
New Revision: 39986
URL: http://llvm.org/viewvc/llvm-project?rev=39986&view=rev
Log:
Turn on FastDSE by default.
Note: FastDSE now equals or exceeds the results of old DSE on all of SPEC2000 and SPEC2006. Unless major problems
show up in the testers, it will likely completely replace old DSE in the near future.
Modified:
llvm/trunk/tools/llvm-ld/Optimize.cpp
llvm/trunk/tools/opt/opt.cpp
Modified: llvm/trunk/tools/llvm-ld/Optimize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ld/Optimize.cpp?rev=39986&r1=39985&r2=39986&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ld/Optimize.cpp (original)
+++ llvm/trunk/tools/llvm-ld/Optimize.cpp Tue Jul 17 16:59:21 2007
@@ -168,7 +168,7 @@
addPass(Passes, createLICMPass()); // Hoist loop invariants
addPass(Passes, createLoadValueNumberingPass()); // GVN for load instrs
addPass(Passes, createGCSEPass()); // Remove common subexprs
- addPass(Passes, createDeadStoreEliminationPass()); // Nuke dead stores
+ addPass(Passes, createFastDeadStoreEliminationPass()); // Nuke dead stores
// Cleanup and simplify the code after the scalar optimizations.
addPass(Passes, createInstructionCombiningPass());
Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=39986&r1=39985&r2=39986&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Tue Jul 17 16:59:21 2007
@@ -291,7 +291,7 @@
addPass(PM, createInstructionCombiningPass());
addPass(PM, createCondPropagationPass()); // Propagate conditionals
- addPass(PM, createDeadStoreEliminationPass()); // Delete dead stores
+ addPass(PM, createFastDeadStoreEliminationPass()); // Delete dead stores
addPass(PM, createAggressiveDCEPass()); // SSA based 'Aggressive DCE'
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
addPass(PM, createSimplifyLibCallsPass()); // Library Call Optimizations
More information about the llvm-commits
mailing list