mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Enable loop-rotate before loop-vectorize by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231820 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
86dbc2b6d3
commit
7212f8bb52
@ -311,8 +311,7 @@ void PassManagerBuilder::populateModulePassManager(
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user