Turn on loop unswitching tonight
authorChris Lattner <sabre@nondot.org>
Wed, 22 Feb 2006 07:33:49 +0000 (07:33 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 22 Feb 2006 07:33:49 +0000 (07:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26312 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccas/gccas.cpp

index 2791cf4df20b631380c64c491fc5bea4668bf947..2a45779a4f6229775b154fdf99cf1990d84b9ac4 100644 (file)
@@ -109,6 +109,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
   addPass(PM, createCFGSimplificationPass());    // Merge & remove BBs
   addPass(PM, createReassociatePass());          // Reassociate expressions
   addPass(PM, createLICMPass());                 // Hoist loop invariants
+  addPass(PM, createLoopUnswitchPass());         // Unswitch loops.
   addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
   addPass(PM, createIndVarSimplifyPass());       // Canonicalize indvars
   addPass(PM, createLoopUnrollPass());           // Unroll small loops