From: Devang Patel Date: Tue, 10 Apr 2007 15:43:36 +0000 (+0000) Subject: Enable loop rotate pass. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0aa37f472a920d8d8e8b6340db29f69641770749;p=oota-llvm.git Enable loop rotate pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35863 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 14dd158b906..fab3ce2e11b 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -212,6 +212,7 @@ void AddStandardCompilePasses(PassManager &PM) { addPass(PM, createTailCallEliminationPass()); // Eliminate tail calls addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createReassociatePass()); // Reassociate expressions + addPass(PM, createLoopRotatePass()); addPass(PM, createLICMPass()); // Hoist loop invariants addPass(PM, createLoopUnswitchPass()); // Unswitch loops. addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc