<div dir="ltr">I have matrix multiplication and stencil code. I vectorise it through the following command.<div><br></div><div>opt  -S -O3 -force-vector-width=2048 stencil.ll -o stencil_o3.ll<br></div><div><br></div><div>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. </div><div>it produces scalar code IR not vectorizes it.</div><div><br></div><div>Is it llvm bug?</div><div><br></div><div>Please help me.</div></div>