[llvm-bugs] [Bug 35601] Missed optimization in math expression: sqrt(pow(a, 2.0)) == |a|

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 10 09:01:12 PST 2017


Sanjay Patel <spatel+llvm at rotateright.com> changed:

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

--- Comment #5 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Should be fixed after:

Note that there's a sibling bug for pow(x, -1.0) that is still alive (I marked
it with a 'FIXME' comment in the source).

Also, we should be getting these folds with vector types too, but I suspect
we're missing a bunch of those cases.

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/20171210/10b693d1/attachment.html>

More information about the llvm-bugs mailing list