[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 10 21:35:01 PDT 2004


Changes in directory llvm/include/llvm:

Intrinsics.h updated: 1.23 -> 1.24

---
Log message:

I misled Alkis: LLVM should have isnan, not isunordered.  
  isunordered(X, Y) === isnan(X) | isnan(Y)

Remove isunordered, add isnan.


---
Diffs of the changes:  (+2 -4)

Index: llvm/include/llvm/Intrinsics.h
diff -u llvm/include/llvm/Intrinsics.h:1.23 llvm/include/llvm/Intrinsics.h:1.24
--- llvm/include/llvm/Intrinsics.h:1.23	Thu Jun 10 20:08:18 2004
+++ llvm/include/llvm/Intrinsics.h	Thu Jun 10 21:29:28 2004
@@ -59,7 +59,8 @@
     memmove,        // Copy potentially overlapping memory blocks
     memset,         // Fill memory with a byte value
 
-    // Standard libm functions.
+    // libm related functions.
+    isnan,          // Return true if fp argument is a NAN.
 
     // Input/Output intrinsics.
     readport,
@@ -67,9 +68,6 @@
     readio,
     writeio,
 
-    // Support for unordered compare intrinsic
-    isunordered,
-
     //===------------------------------------------------------------------===//
     // This section defines intrinsic functions used to represent Alpha
     // instructions.





More information about the llvm-commits mailing list