[llvm] r231820 - Enable loop-rotate before loop-vectorize by default
Michael Zolotukhin
mzolotukhin at apple.com
Tue Mar 10 12:07:41 PDT 2015
Author: mzolotukhin
Date: Tue Mar 10 14:07:41 2015
New Revision: 231820
URL: http://llvm.org/viewvc/llvm-project?rev=231820&view=rev
Log:
Enable loop-rotate before loop-vectorize by default
Modified:
llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
Modified: llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp?rev=231820&r1=231819&r2=231820&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Tue Mar 10 14:07:41 2015
@@ -311,8 +311,7 @@ void PassManagerBuilder::populateModuleP
// Re-rotate loops in all our loop nests. These may have fallout out of
// rotated form due to GVN or other transformations, and the vectorizer relies
// on the rotated form.
- if (ExtraVectorizerPasses)
- MPM.add(createLoopRotatePass());
+ MPM.add(createLoopRotatePass());
MPM.add(createLoopVectorizePass(DisableUnrollLoops, LoopVectorize));
// FIXME: Because of #pragma vectorize enable, the passes below are always
More information about the llvm-commits
mailing list