aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-05-06 23:56:34 +0000
committerOwen Anderson <resistor@mac.com>2008-05-06 23:56:34 +0000
commit77a895e59912717fd00e9e83b131c47f29d90986 (patch)
tree4245743cf5cdb493e5f8383249abeff438951ff9 /tools/opt/opt.cpp
parent12f33baa8a1a505ad3e2477c3254a737ceb10964 (diff)
downloadexternal_llvm-77a895e59912717fd00e9e83b131c47f29d90986.zip
external_llvm-77a895e59912717fd00e9e83b131c47f29d90986.tar.gz
external_llvm-77a895e59912717fd00e9e83b131c47f29d90986.tar.bz2
Disable loop deletion until the release branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 263053c..d1862a0 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -282,7 +282,6 @@ void AddStandardCompilePasses(PassManager &PM) {
addPass(PM, createLoopIndexSplitPass()); // Index split loops.
addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
- addPass(PM, createLoopDeletionPass()); // Remove dead loops
addPass(PM, createLoopUnrollPass()); // Unroll small loops
addPass(PM, createInstructionCombiningPass()); // Clean up after the unroller
addPass(PM, createGVNPass()); // Remove redundancies