[llvm-bugs] [Bug 32317] Loop vectorizer miscompile resulting in additional loop iteration

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 11 08:35:53 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32317

Anna <anna at azul.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Anna <anna at azul.com> ---
Btw, the loop is no longer vectorized at O3. At O2, we see the same problem as
what occurs in 32396. The vector.recur.extract generated by
fixFirstOrderRecurrence assumes the last index (1) when trip-count=2 contains
the correct element. This is incorrect. 
The fix in 32396 fixes this as well.

*** This bug has been marked as a duplicate of bug 32396 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170411/60aa4eb8/attachment.html>


More information about the llvm-bugs mailing list