summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/intrinsics.ll
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-06-12 19:19:14 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-06-12 19:19:14 +0000
commit9d740629a06cbdac929dbbab6d0b8a7c6ce32d34 (patch)
tree1408ef119b5acf2c94a3f167d362a417edf8579c /llvm/test/Feature/intrinsics.ll
parent0a70ceb55fd3eeba84a1d204f21795475b21e1f9 (diff)
downloadbcm5719-llvm-9d740629a06cbdac929dbbab6d0b8a7c6ce32d34.tar.gz
bcm5719-llvm-9d740629a06cbdac929dbbab6d0b8a7c6ce32d34.zip
Add the isunordered intrinsic.
llvm-svn: 14159
Diffstat (limited to 'llvm/test/Feature/intrinsics.ll')
-rw-r--r--llvm/test/Feature/intrinsics.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Feature/intrinsics.ll b/llvm/test/Feature/intrinsics.ll
index 53a78b5417c..51f738c9efd 100644
--- a/llvm/test/Feature/intrinsics.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud