[llvm-bugs] [Bug 47077] Avoid doing equality comparisons between floating expressions.(llvm-project/clang/lib/CodeGen/CGExpr.cpp:line 5228)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 10 00:14:15 PDT 2020


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neeilans at live.com
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
          Component|libclang                    |LLVM Codegen

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The code is correct as-is. This is adding metadata storing a floating-point
value, and the absence of any metadata is equivalent to a value of exactly 0.

-- 
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/20200810/23149db4/attachment.html>


More information about the llvm-bugs mailing list