[LLVMbugs] [Bug 23522] Optimized assembly raises div-by-zero exception though C source code takes pains to avoid it

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 14 04:29:16 PDT 2015


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

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 #2 from Michael Kuperstein <michael.m.kuperstein at intel.com> ---
This is a known issue - LLVM doesn't model floating point exceptions, so the
optimizer feels free to reorder the fdiv with the select.
See PR6050 and PR18673.

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

-- 
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/20150514/f339ef15/attachment.html>


More information about the llvm-bugs mailing list