summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-07-17 21:59:21 +0000
committerOwen Anderson <resistor@mac.com>2007-07-17 21:59:21 +0000
commita603a80607ed4c4896c20ec5166d5b3de155a9b5 (patch)
treefc16c7026c73ed2cfb39b53dbc4901584c01eb8d /llvm/tools
parent97b5dc63d7967c024c6f599c9d68844ad7d0e77c (diff)
downloadbcm5719-llvm-a603a80607ed4c4896c20ec5166d5b3de155a9b5.tar.gz
bcm5719-llvm-a603a80607ed4c4896c20ec5166d5b3de155a9b5.zip
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. llvm-svn: 39986
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/llvm-ld/Optimize.cpp2
-rw-r--r--llvm/tools/opt/opt.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ld/Optimize.cpp b/llvm/tools/llvm-ld/Optimize.cpp
index 49b8f4225bc..308fd546e3a 100644
--- a/llvm/tools/llvm-ld/Optimize.cpp
+++ b/llvm/tools/llvm-ld/Optimize.cpp
@@ -168,7 +168,7 @@ void Optimize(Module* M) {
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());
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index fc71074fb86..24f6b7978df 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -291,7 +291,7 @@ void AddStandardCompilePasses(PassManager &PM) {
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
OpenPOWER on IntegriCloud