<div dir="ltr">Thank you Tanya.<div>The first email I received from Anton was on Oct 28th, but I'm able to access my Bugzilla account now so all confusion is resolved.</div><div><br></div><div>The bug mentioned in this thread has been filed here: <a href="https://llvm.org/bugs/show_bug.cgi?id=30837">https://llvm.org/bugs/show_bug.cgi?id=30837</a></div><div><br></div><div>-Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 28, 2016 at 1:43 PM, Tanya Lattner <span dir="ltr"><<a href="mailto:tonic@nondot.org" target="_blank">tonic@nondot.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Eric,<div><br></div><div>I apologize for any delay or confusion. From my records/list archives, I saw that Anton had created an account for you on Oct 17th and responded to your email to llvm-admin. I am not sure what happened after that point as I thought the account was done.</div><div><br></div><div>I just confirmed there is an account for you in bugzilla, so you should be good to go if you reset your password.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Tanya</div></font></span><div><div class="h5"><div><br><div><blockquote type="cite"><div>On Oct 27, 2016, at 11:47 AM, Mehdi Amini <<a href="mailto:mehdi.amini@apple.com" target="_blank">mehdi.amini@apple.com</a>> wrote:</div><br class="m_-5929204212843741943Apple-interchange-newline"><div><div style="word-wrap:break-word">+Tanya for the account issue.<div><br></div><div><div><blockquote type="cite"><div>On Oct 27, 2016, at 11:36 AM, Eric Martin via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="m_-5929204212843741943Apple-interchange-newline"><div><div dir="ltr">Hi,<div>I intended to file this bug on Bugzilla, but I've received no response from llvm-admin in the 10 days since asking for a Bugzilla account.</div><div><br></div><div>I've written 2 test functions in C that take in a float array x of size n and output float array f(x), where f is either fabsf or logf. The LLVM 3.9 auto-vectorization docs claim that both functions will be vectorized: <a href="http://llvm.org/releases/3.9.0/docs/Vectorizers.html#vectorization-of-function-calls" target="_blank">http://llvm.org/releases/3.9.<wbr>0/docs/Vectorizers.html#<wbr>vectorization-of-function-<wbr>calls</a></div><div><br></div><div>When running with "clang -O3 -march=x86-64 -mavx2 -ffast-math test.c -S -emit-llvm", the function calling fabsf is vectorized while the function calling logf is not.  This is with clang 3.9, but I've also confirmed the bug exists back to at least clang 3.7. I've also observed that logf calls break vectorization of more complex loops, and I provide the comparison with fabsf as a reduced test case.</div><div><br></div><div>I've attached the C program, a sh script to invoke clang with correct arguments, and an example LLVM IR file I produced by running on my system.</div><div><br></div><div>If someone makes a Bugzilla account for me, I can refile this bug there.</div><div><br></div><div>Best,</div><div>Eric Martin</div><div><br></div></div>
<span id="m_-5929204212843741943cid:13D0A7E7-8913-492C-B780-8C209D20433B@apple.com"><log_autovec_test.tgz></span>________<wbr>______________________________<wbr>_________<br>LLVM Developers mailing list<br><a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br></div></blockquote></div><br></div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>