Add a nan, stop testing isnan

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14183 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-06-15 21:29:01 +00:00
parent d6a1053745
commit 6c07f30dbe

View 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
}