From 9685372062a07c49d6c940d9094df07850092cd2 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Sat, 12 Jun 2004 19:19:14 +0000 Subject: Add the isunordered intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14159 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/intrinsics.ll | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/Feature/intrinsics.ll') diff --git a/test/Feature/intrinsics.ll b/test/Feature/intrinsics.ll index 53a78b5..51f738c 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 } -- cgit v1.1