[llvm-bugs] [Bug 49305] In O0 optimization, -nan cannot be calculated properly.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 24 18:00:15 PST 2021


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

Arron <2077213809 at qq.com> changed:

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

--- Comment #2 from Arron <2077213809 at qq.com> ---
(In reply to Sanjay Patel from comment #1)
> Is it correct that you're testing with clang/LLVM 8.0?
> 
> I don't see this bug on trunk. A real "fneg" instruction (rather than "fsub
> -0.0, X") was introduced in IR sometime between then and now, so the lack of
> that might be responsible for the difference.

Thank you very much. I tried the trunk version and it seems to have been fixed.
I'll find a patch to fix it.

-- 
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/20210225/52060310/attachment.html>


More information about the llvm-bugs mailing list