2004-06-11 10:29:57 +08:00
|
|
|
|
2004-06-13 03:19:14 +08:00
|
|
|
declare bool %llvm.isunordered(float, float)
|
|
|
|
declare bool %llvm.isunordered(double, double)
|
|
|
|
|
2004-06-11 09:06:40 +08:00
|
|
|
implementation
|
|
|
|
|
|
|
|
; Test llvm intrinsics
|
|
|
|
;
|
2004-06-11 10:29:57 +08:00
|
|
|
void %libm() {
|
2004-06-13 03:19:14 +08:00
|
|
|
call bool %llvm.isunordered(float 0.0, float 1.0)
|
2004-06-16 05:29:40 +08:00
|
|
|
call bool %llvm.isunordered(double 0.0, double 0x7FF8000000000000)
|
2004-06-11 09:06:40 +08:00
|
|
|
ret void
|
2004-06-11 10:29:57 +08:00
|
|
|
}
|