forked from OSchip/llvm-project
Reapply: Add slp vectorization to LTO passes. The bug it exposed has been fixed by r207983. <radar://16641956>
llvm-svn: 208013
This commit is contained in:
parent
80f12c2349
commit
79eb0aa8cb
|
@ -341,6 +341,9 @@ void PassManagerBuilder::populateLTOPassManager(PassManagerBase &PM,
|
|||
PM.add(createLoopDeletionPass());
|
||||
PM.add(createLoopVectorizePass(true, true));
|
||||
|
||||
// More scalar chains could be vectorized due to more alias information
|
||||
PM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains.
|
||||
|
||||
// Cleanup and simplify the code after the scalar optimizations.
|
||||
PM.add(createInstructionCombiningPass());
|
||||
|
||||
|
|
Loading…
Reference in New Issue