[LLVMdev] SLP vectorizer on AVX feature

Renato Golin renato.golin at linaro.org
Wed Jul 1 13:59:26 PDT 2015


On 1 July 2015 at 20:18, Frank Winter <fwinter at jlab.org> wrote:
> Also, in a earlier version of my application I saw on similar functions that
> the SLP vectorizer uses 8xfloat on the same hardward (Sandy Bridge). In
> those versions I used LLVM 3.4 or 3.5 (trunk).

In those days, SLP was a lot more aggressive, maybe? :)

You could use OpenMP vectorize pragmas to specify the width of that
loop, which works across compilers. I'm not sure SLP checks that,
though.

cheers,
--renato



More information about the llvm-dev mailing list