[LLVMbugs] [Bug 22265] clang crashes on valid code at -O2 and -O3 on x86_64-linux-gnu
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 19 23:27:12 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22265
Michael Kuperstein <michael.m.kuperstein at intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |michael.m.kuperstein at intel.
| |com
Resolution|--- |DUPLICATE
--- Comment #3 from Michael Kuperstein <michael.m.kuperstein at intel.com> ---
This looks like a duplicate of PR15941 (albeit with a smaller reproducer).
In David's reproducer, the volatile load gets folded into a CMOV (that came
from the select), and the non-volatile load gets folded into the INC (that came
from the add).
Because of the volatility of the first load, we have a chain from the CMOV to
the INC, but the CMOV also depends on the result of the INC (through EFLAGS),
and we get a cycle.
*** This bug has been marked as a duplicate of bug 15941 ***
--
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/20150120/90e9d9c4/attachment.html>
More information about the llvm-bugs
mailing list