[llvm-dev] Set Vector Width in Polly

hameeza ahmed via llvm-dev llvm-dev at lists.llvm.org
Sun Jul 2 02:21:44 PDT 2017


Hello,

What is the way to set vector width with polly.

I used following command for polly vectorization in clang; i don't use opt
because it looks clang llvm and opt are same with polly;



clang  -S -emit-llvm matn.c -march=knl -O3 -mllvm -polly -mllvm
-polly-vectorizer=stripmine -o matn_poly.ll
is the above command correct?


Here getting vector width=16, i want to set it to 64? not know how to do??

Also what is the advantage of vectorization with polly?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170702/0b21f894/attachment.html>


More information about the llvm-dev mailing list