aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/opt.cpp
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
commitb63c7b695f14bc23b8491a609f99d8cfe1996aef (patch)
tree07268bb0c48cd6c2db7aeb0af548c559c1be7083 /tools/opt/opt.cpp
parent9b8c67443280c8e1b50766b312a5c07df080a638 (diff)
downloadexternal_llvm-b63c7b695f14bc23b8491a609f99d8cfe1996aef.zip
external_llvm-b63c7b695f14bc23b8491a609f99d8cfe1996aef.tar.gz
external_llvm-b63c7b695f14bc23b8491a609f99d8cfe1996aef.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index fc71074..24f6b79 100644
--- a/tools/opt/opt.cpp
+++ b/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