[LLVMdev] Vectorization factor limitation in Loop Vectorizer

Shahid, Asghar-ahmad Asghar-ahmad.Shahid at amd.com
Wed Dec 10 22:48:58 PST 2014


Hi Nadav/Devs

I am exploring Loop Vectorizer to vectorize i8 scalar operations into 8xi8 vector operation.

I was expecting the Loop Vectorizer to analyze the profitability for vectorization factor(VF) of 8,
However it is not doing so due to the widest type calculation done for the blocks inside the loop.

May be I am missing something, however, I am curious to know why Loop Vectorizer limits the
profitability check to widest type and not allowing for other narrower type?

Regards,
Shahid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141211/4389cec8/attachment.html>


More information about the llvm-dev mailing list