summaryrefslogtreecommitdiff
path: root/tools/opt
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-11-26 04:58:14 +0000
committerDevang Patel <dpatel@apple.com>2008-11-26 04:58:14 +0000
commit6f9f3e1a188df61e8b1022a9c1cef6999db25014 (patch)
tree76ab18ef1113a8e9321ccad801d044377cbec207 /tools/opt
parent5984680c1fe7ad98381154c26f9c009e4c91b08c (diff)
downloadllvm-6f9f3e1a188df61e8b1022a9c1cef6999db25014.tar.gz
llvm-6f9f3e1a188df61e8b1022a9c1cef6999db25014.tar.bz2
llvm-6f9f3e1a188df61e8b1022a9c1cef6999db25014.tar.xz
Disable -loop-index-split for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt')
-rw-r--r--tools/opt/opt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 9039553511..8efedb1679 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -311,7 +311,7 @@ void AddOptimizationPasses(PassManager &MPM, FunctionPassManager &FPM,
MPM.add(createLoopRotatePass()); // Rotate Loop
MPM.add(createLICMPass()); // Hoist loop invariants
MPM.add(createLoopUnswitchPass());
- MPM.add(createLoopIndexSplitPass()); // Split loop index
+ // MPM.add(createLoopIndexSplitPass()); // Split loop index
MPM.add(createInstructionCombiningPass());
MPM.add(createIndVarSimplifyPass()); // Canonicalize indvars
MPM.add(createLoopDeletionPass()); // Delete dead loops
@@ -383,7 +383,7 @@ void AddStandardCompilePasses(PassManager &PM) {
addPass(PM, createLoopRotatePass());
addPass(PM, createLICMPass()); // Hoist loop invariants
addPass(PM, createLoopUnswitchPass()); // Unswitch loops.
- addPass(PM, createLoopIndexSplitPass()); // Index split loops.
+ // addPass(PM, createLoopIndexSplitPass()); // Index split loops.
// FIXME : Removing instcombine causes nestedloop regression.
addPass(PM, createInstructionCombiningPass());
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars