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

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 15 16:36:01 PDT 2004


Changes in directory llvm/test/Feature:

intrinsics.ll updated: 1.3 -> 1.4

---
Log message:

Add a nan, stop testing isnan


---
Diffs of the changes:  (+1 -6)

Index: llvm/test/Feature/intrinsics.ll
diff -u llvm/test/Feature/intrinsics.ll:1.3 llvm/test/Feature/intrinsics.ll:1.4
--- llvm/test/Feature/intrinsics.ll:1.3	Sat Jun 12 14:19:14 2004
+++ llvm/test/Feature/intrinsics.ll	Tue Jun 15 16:29:01 2004
@@ -1,7 +1,4 @@
 
-declare bool %llvm.isnan(float)
-declare bool %llvm.isnan(double)
-
 declare bool %llvm.isunordered(float, float)
 declare bool %llvm.isunordered(double, double)
 
@@ -10,9 +7,7 @@
 ; Test llvm intrinsics
 ;
 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)
+        call bool %llvm.isunordered(double 0.0, double double 0x7FF8000000000000)
 	ret void
 }





More information about the llvm-commits mailing list