[llvm-commits] CVS: llvm/test/Feature/intrinsics.ll

Alkis Evlogimenos alkis at cs.uiuc.edu
Sat Jun 12 14:25:24 PDT 2004


Changes in directory llvm/test/Feature:

intrinsics.ll updated: 1.2 -> 1.3

---
Log message:

Add the isunordered intrinsic.


---
Diffs of the changes:  (+5 -0)

Index: llvm/test/Feature/intrinsics.ll
diff -u llvm/test/Feature/intrinsics.ll:1.2 llvm/test/Feature/intrinsics.ll:1.3
--- llvm/test/Feature/intrinsics.ll:1.2	Thu Jun 10 21:29:57 2004
+++ llvm/test/Feature/intrinsics.ll	Sat Jun 12 14:19:14 2004
@@ -2,6 +2,9 @@
 declare bool %llvm.isnan(float)
 declare bool %llvm.isnan(double)
 
+declare bool %llvm.isunordered(float, float)
+declare bool %llvm.isunordered(double, double)
+
 implementation
 
 ; Test llvm intrinsics
@@ -9,5 +12,7 @@
 void %libm() {
 	call bool %llvm.isnan(float 0.0)
 	call bool %llvm.isnan(double 10.0)
+        call bool %llvm.isunordered(float 0.0, float 1.0)
+        call bool %llvm.isunordered(double 0.0, double 1.0)
 	ret void
 }





More information about the llvm-commits mailing list