diff options
-rw-r--r-- | test/Feature/intrinsics.ll | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/Feature/intrinsics.ll b/test/Feature/intrinsics.ll index 17b935ebc9..53a78b5417 100644 --- a/test/Feature/intrinsics.ll +++ b/test/Feature/intrinsics.ll @@ -1,12 +1,13 @@ -declare bool "llvm.isunordered"(float, float) + +declare bool %llvm.isnan(float) +declare bool %llvm.isnan(double) implementation ; Test llvm intrinsics ; -void "void"(int, int) -begin - %c = call bool %llvm.isunordered(float 0.0, float 1.0) +void %libm() { + call bool %llvm.isnan(float 0.0) + call bool %llvm.isnan(double 10.0) ret void -end - +} |