[llvm-bugs] [Bug 30464] LLVM fails to DCE constant-folded calls to math functions

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 2 13:52:25 PDT 2016


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

Eli Friedman <efriedma at codeaurora.org> changed:

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

--- Comment #3 from Eli Friedman <efriedma at codeaurora.org> ---
https://reviews.llvm.org/D25970.  r285857.  Fixes log, log2, log10, exp, exp2,
sin, cos, tan, asin, acos, sinh, cosh, sqrt, pow, fmod.  I think all the other
calls we constant-fold are readonly (e.g. atan2 never sets errno).

-- 
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/20161102/0622fa3f/attachment.html>


More information about the llvm-bugs mailing list