diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-06-12 19:19:14 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-06-12 19:19:14 +0000 |
commit | 9685372062a07c49d6c940d9094df07850092cd2 (patch) | |
tree | 1bf1206cc881440e1c36af5db685604fd71aef4b /test | |
parent | 06a3db0b0fd080ca025e8ac9d9af543f6a211d73 (diff) | |
download | llvm-9685372062a07c49d6c940d9094df07850092cd2.tar.gz llvm-9685372062a07c49d6c940d9094df07850092cd2.tar.bz2 llvm-9685372062a07c49d6c940d9094df07850092cd2.tar.xz |
Add the isunordered intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14159 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/intrinsics.ll | 5 |
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 } |