mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 08:24:12 +00:00
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:
parent
d6a1053745
commit
6c07f30dbe
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user