Add a nan, stop testing isnan
authorChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2004 21:29:01 +0000 (21:29 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2004 21:29:01 +0000 (21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14183 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/intrinsics.ll

index 51f738c9efd58e94e291df77d2ef61677f8a5c54..89261e187ed696358d7aabc8dda8bdd20a697977 100644 (file)
@@ -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 @@ implementation
 ; 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
 }