Vectorization of pointer PHI nodes

Renato Golin renato.golin at linaro.org
Mon Oct 14 10:09:08 PDT 2013


On 14 October 2013 18:03, Nadav Rotem <nrotem at apple.com> wrote:

> This also looks like a form of SLP vectorization.
>

Yes. Would it be more beneficial to make it a BB-only pass? It seems that,
independent of that, it would be beneficial to have pointer reduction
variables.


I assume that you meant to write (*read++). Basically, we have a wide load
> and a wide store and some operations on ABC.
>

yes.


Can you send the IR for this code ?
>

Unoptimized and optimized version, with the latter being exactly what the
vectorizer will see at O3 (I dumped from inside the debugger and it was
identical).

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131014/b8d0132d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vect-pointer-test.zip
Type: application/zip
Size: 2113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131014/b8d0132d/attachment.zip>


More information about the llvm-commits mailing list