aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt
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
commited3b1406e88b14e34c50f5acd48725fd0ec5e638 (patch)
tree4245743cf5cdb493e5f8383249abeff438951ff9 /tools/opt
parentaf4a3b9795432b39ae28c4e05570c6d4fe87ef31 (diff)
downloadexternal_llvm-ed3b1406e88b14e34c50f5acd48725fd0ec5e638.zip
external_llvm-ed3b1406e88b14e34c50f5acd48725fd0ec5e638.tar.gz
external_llvm-ed3b1406e88b14e34c50f5acd48725fd0ec5e638.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')
-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