diff options
author | Owen Anderson <resistor@mac.com> | 2007-07-17 21:59:21 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-07-17 21:59:21 +0000 |
commit | b63c7b695f14bc23b8491a609f99d8cfe1996aef (patch) | |
tree | 07268bb0c48cd6c2db7aeb0af548c559c1be7083 /tools/llvm-ld | |
parent | 9b8c67443280c8e1b50766b312a5c07df080a638 (diff) | |
download | external_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/llvm-ld')
-rw-r--r-- | tools/llvm-ld/Optimize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ld/Optimize.cpp b/tools/llvm-ld/Optimize.cpp index 49b8f42..308fd54 100644 --- a/tools/llvm-ld/Optimize.cpp +++ b/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()); |