aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-09-17 20:36:17 +0000
committerTanya Lattner <tonic@nondot.org>2007-09-17 20:36:17 +0000
commitb65549acc3a32c9c38e6bba239fd86a501704e45 (patch)
tree703c6cf2af5de72819b788d07a791f50d1e08879
parent94fe01bf2d1d17df859cf19bb422a104c0290030 (diff)
Disable LoopIndexSplitting for 2.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_21@42052 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/opt/opt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 9d714596bf..78934d9c18 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -277,7 +277,8 @@ void AddStandardCompilePasses(PassManager &PM) {
addPass(PM, createLoopRotatePass());
addPass(PM, createLICMPass()); // Hoist loop invariants
addPass(PM, createLoopUnswitchPass()); // Unswitch loops.
- addPass(PM, createLoopIndexSplitPass()); // Index split loops.
+ // Diable for 2.1
+ //addPass(PM, createLoopIndexSplitPass()); // Index split loops.
addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
addPass(PM, createLoopUnrollPass()); // Unroll small loops