From: Chris Lattner Date: Wed, 22 Feb 2006 07:33:49 +0000 (+0000) Subject: Turn on loop unswitching tonight X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a2a51607a6601d42c5f559858f77ef1cad86efe1;p=oota-llvm.git Turn on loop unswitching tonight git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26312 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 2791cf4df20..2a45779a4f6 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -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