Disable loop deletion until the release branch.
authorOwen Anderson <resistor@mac.com>
Tue, 6 May 2008 23:56:34 +0000 (23:56 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 6 May 2008 23:56:34 +0000 (23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50787 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index 263053c0636ca57cba6330d0b6b3d72c4b7ba1f0..d1862a08fcf245cd0562254eed662825c7cea2a2 100644 (file)
@@ -282,7 +282,6 @@ void AddStandardCompilePasses(PassManager &PM) {
   addPass(PM, createLoopIndexSplitPass());       // Index split loops.
   addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
   addPass(PM, createIndVarSimplifyPass());       // Canonicalize indvars
-  addPass(PM, createLoopDeletionPass());         // Remove dead loops
   addPass(PM, createLoopUnrollPass());           // Unroll small loops
   addPass(PM, createInstructionCombiningPass()); // Clean up after the unroller
   addPass(PM, createGVNPass());                  // Remove redundancies