aboutsummaryrefslogtreecommitdiff
path: root/test/Feature/intrinsics.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/intrinsics.ll')
-rw-r--r--test/Feature/intrinsics.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Feature/intrinsics.ll b/test/Feature/intrinsics.ll
index 53a78b5417..51f738c9ef 100644
--- a/test/Feature/intrinsics.ll
+++ b/test/Feature/intrinsics.ll
@@ -2,6 +2,9 @@
declare bool %llvm.isnan(float)
declare bool %llvm.isnan(double)
+declare bool %llvm.isunordered(float, float)
+declare bool %llvm.isunordered(double, double)
+
implementation
; Test llvm intrinsics
@@ -9,5 +12,7 @@ implementation
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)
ret void
}