[llvm-bugs] [Bug 31953] GVN miscompile

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 16 10:11:38 PST 2017


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

Mehdi Amini <mehdi.amini at apple.com> changed:

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

--- Comment #12 from Mehdi Amini <mehdi.amini at apple.com> ---
Confirmed that removing inbounds here:

  %incdec.ptr9.i.i = getelementptr inbounds float, float* %pDest.addr.0.i32.i,
i64 1

solves the issue.
This was UB in the source.

-- 
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/20170216/001cda27/attachment.html>


More information about the llvm-bugs mailing list