[llvm-bugs] [Bug 24512] miscompilation of uint32 ->float vector cast on x86 pre-avx

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 21 16:20:01 PDT 2015


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

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

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

--- Comment #9 from Sanjay Patel <spatel+llvm at rotateright.com> ---
(In reply to comment #8)
> Yes, it was unsafe-fp-math that made the difference. This is described as
> "reduced precision", not "throw away my input entirely" :)

Heh...turning everything into zeros falls under the scope of "unsafe". :)

Seriously though, -ffast-math is license for the compiler to do a lot of
things, and I think we're within bounds on this one.

So I'll resolve this as "invalid". Please reopen if you disagree or see a
better way out.

-- 
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/20150821/f72bc124/attachment-0001.html>


More information about the llvm-bugs mailing list