<div dir="ltr">Hi All,<div><br></div><div>Any update on this query?</div><div><br></div><div>Regards,</div><div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>------------------------------</div><div>Raghesh Aloor</div><div>AMD India Pvt. Ltd.</div><div>Bengaluru.</div><div>------------------------------</div></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 14, 2021 at 8:19 AM raghesh <<a href="mailto:raghesh.a@gmail.com">raghesh.a@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi All,</div><div><br></div><div>RFC in [1] proposed to perform loop vectorization in presence of multiple exits. I could find some patches [2, 3] essential for this that got upstreamed.</div><div><br></div><div>Is the implementation ready to be used now? If not, will this be landed in the near future? </div><div><br></div><div>When I tried with simple examples like the one below, vectorization was not happening.</div><div><br></div><div>int foo(float *a, int n){<br> int i;<br> for (i=0;i<n;i++){<br> if (a[i] == 0){<br> break;<br> }<br> }<br> return i;<br>}<br></div><div><br></div>[1] <a href="https://lists.llvm.org/pipermail/llvm-dev/2019-September/134998.html" target="_blank">https://lists.llvm.org/pipermail/llvm-dev/2019-September/134998.html</a><div>[2] <a href="https://reviews.llvm.org/D66688" target="_blank">https://reviews.llvm.org/D66688</a></div><div>[3] <a href="https://reviews.llvm.org/D93317" target="_blank">https://reviews.llvm.org/D93317</a><br><div><br></div><div>Thanks and Regards,</div></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>------------------------------</div><div>Raghesh Aloor</div><div>AMD India Pvt. Ltd.</div><div>Bengaluru.</div><div>------------------------------</div></div></div></div></div></div></div></div></div>
</blockquote></div>