[llvm-bugs] [Bug 36387] Load from a local value is not hoisted outside of the loop when the value is populated via sret pointer

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 15 11:59:21 PST 2018


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

Tim Shen <timshen91 at gmail.com> changed:

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

--- Comment #2 from Tim Shen <timshen91 at gmail.com> ---
GCC 4.9.2 -O2, wrong result: https://wandbox.org/permlink/RmtgF6vuTH44qCx2
LLVM trunk -O2, correct result: https://wandbox.org/permlink/HclAKkJYahXYxKD8

The GCC optimization may cause miscompile. Mark as WAI.

-- 
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/20180215/e48e66e3/attachment.html>


More information about the llvm-bugs mailing list