PATCH: WIP SLPVectorize: Enable vectorization of allocas
Chandler Carruth
chandlerc at google.com
Fri Oct 25 00:28:55 PDT 2013
On Fri, Oct 25, 2013 at 12:13 AM, Nadav Rotem <nrotem at apple.com> wrote:
> Hi Tom,
>
> I am not sure that it is a good idea to generate ExtractElement
> instructions with dynamic indices at IR level. I think that this kind of
> patterns should be matched during instruction selection.
>
Can you explain why?
extractelement and a vector load provide strictly more information to every
mid-level optimization and analysis pass. It makes SROA, inlining, and
other optimizations easier. What harm does it cause?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131025/5d24ca22/attachment.html>
More information about the llvm-commits
mailing list