summaryrefslogtreecommitdiff
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
commita4fce9bd7a6599c4564d81d0d5617b842d190f3c (patch)
treed8ce0c1d007fe47d144438cbd5c640d8e1612ebc
parentd042361a6e89a7bda62731fb14d96f84c9979a50 (diff)
downloadllvm-a4fce9bd7a6599c4564d81d0d5617b842d190f3c.tar.gz
Disable LoopIndexSplitting for 2.1
llvm-svn: 42052
-rw-r--r--llvm/tools/opt/opt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 9d714596bfc5..78934d9c1868 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/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