[llvm] r179960 - Fix PR15800. Do not try to vectorize vectors and structs.

Nadav Rotem nrotem at apple.com
Sun Apr 21 16:46:58 PDT 2013


On Apr 21, 2013, at 6:58 AM, Hal Finkel <hfinkel at anl.gov> wrote:

> Regarding vectorizing vectors, should there be a FIXME?
> 

Hi Hal, 

We may want to add support for vectorizing vectors, but this is a low priority for me now.  There are two possible sources of vectors: user code and the loop vectorizer. The Loop Vectorizer has a cost model and should produce optimal vector code. Users who vectorize their code using vector builtins/intrinsics usually know what they are doing and will probably not benefit from auto-vectorization. The only exception that I can think of is migrating user code to new ISA which has wider vector units. For example, the move from SSE to AVX. Can you think of another motivation for re-vectorizing ?

Thanks,
Nadav 

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


More information about the llvm-commits mailing list