From: Devang Patel Date: Wed, 26 Nov 2008 04:58:14 +0000 (+0000) Subject: Disable -loop-index-split for now. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6f9f3e1a188df61e8b1022a9c1cef6999db25014;p=oota-llvm.git Disable -loop-index-split for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60087 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 90395535115..8efedb16791 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