Vectorization of pointer PHI nodes

Nadav Rotem nrotem at apple.com
Mon Oct 14 10:03:07 PDT 2013


This also looks like a form of SLP vectorization.  I assume that you meant to write (*read++).  Basically, we have a wide load and a wide store and some operations on ABC.  Can you send the IR for this code ?

On Oct 14, 2013, at 9:27 AM, Renato Golin <renato.golin at linaro.org> wrote:

> 
> for (i: 0 -> MAX) {
>   a = *read;
>   b = *read;
>   c = *read;
> 
>   // do the same stuff to a, b, c
> 
>   *write++ = a;
>   *write++ = b;
>   *write++ = c;
> }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131014/c2da4741/attachment.html>


More information about the llvm-commits mailing list