[LLVMbugs] [Bug 1738] llvm_fcmp_ord and llvm_fcmp_uno and assembly code generation

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Oct 23 22:42:22 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1738


Chris Lattner <sabre at nondot.org> changed:

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




--- Comment #1 from Chris Lattner <sabre at nondot.org>  2007-10-24 00:42:21 ---
This PR has a number of issues:

1. clang and gcc emit a warning.  I plan to eventually silence the warning in
clang for X != X and X == X, as that is a good way to test for a nan.  I can't
do anything about C.

2. We can't include math.h in CBE output (this brings in macros which can
rewrite the CBE stuff, wreaking havoc :(, so we can't get the standard macro
definitions of isunordered, etc.

3. GCC isn't producing good code for this, I can't do anything about it, you
should file a gcc bug :)

4. LLVM isn't generating good code for this: that is a problem, we can fix
that, and I did!:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071022/054842.html

Thanks for filing this, it's a great thing to be aware of.

-Chris


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list