[llvm] r220652 - Add an option to the LTO code generator to disable vectorization during LTO

Chandler Carruth chandlerc at google.com
Sun Oct 26 22:35:27 PDT 2014


On Sun, Oct 26, 2014 at 7:05 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > --- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
> > +++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Sun Oct 26
> 16:50:58 2014
> > @@ -444,7 +444,7 @@ void PassManagerBuilder::addLTOOptimizat
> >    // More loops are countable; try to optimize them.
> >    PM.add(createIndVarSimplifyPass());
> >    PM.add(createLoopDeletionPass());
> > -  PM.add(createLoopVectorizePass(DisableUnrollLoops, LoopVectorize));
> > +  PM.add(createLoopVectorizePass(true, LoopVectorize));
> >
>
> Was it intentional to always disable loop unrolling?


I would suggest it was an accident. =]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141026/571c906a/attachment.html>


More information about the llvm-commits mailing list