[llvm-dev] LLVM Vectorisation Bug

hameeza ahmed via llvm-dev llvm-dev at lists.llvm.org
Sat Aug 5 10:55:03 PDT 2017


I have matrix multiplication and stencil code. I vectorise it through the
following command.

opt  -S -O3 -force-vector-width=2048 stencil.ll -o stencil_o3.ll

in both the examples of matrix mult and stencil it vectorises fine when my
loop iterations >2048. but if i keep both iterations and vector width=2048.
it produces scalar code IR not vectorizes it.

Is it llvm bug?

Please help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170805/397231bb/attachment.html>


More information about the llvm-dev mailing list