[llvm-commits] [llvm] r60087 - /llvm/trunk/tools/opt/opt.cpp

Devang Patel dpatel at apple.com
Tue Nov 25 20:58:15 PST 2008


Author: dpatel
Date: Tue Nov 25 22:58:14 2008
New Revision: 60087

URL: http://llvm.org/viewvc/llvm-project?rev=60087&view=rev
Log:
Disable -loop-index-split for now.

Modified:
    llvm/trunk/tools/opt/opt.cpp

Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=60087&r1=60086&r2=60087&view=diff

==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Tue Nov 25 22:58:14 2008
@@ -311,7 +311,7 @@
   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 @@
   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





More information about the llvm-commits mailing list