summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/intrinsics.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-15 21:29:01 +0000
committerChris Lattner <sabre@nondot.org>2004-06-15 21:29:01 +0000
commitce4ac095f085e751a43cc194a68fdc4b06ecb405 (patch)
tree505b16928fb9d90802a7892c4dafa184a47526ee /llvm/test/Feature/intrinsics.ll
parent476c73b241771174bd84b1a58ea67e3758c62630 (diff)
downloadbcm5719-llvm-ce4ac095f085e751a43cc194a68fdc4b06ecb405.tar.gz
bcm5719-llvm-ce4ac095f085e751a43cc194a68fdc4b06ecb405.zip
Add a nan, stop testing isnan
llvm-svn: 14183
Diffstat (limited to 'llvm/test/Feature/intrinsics.ll')
-rw-r--r--llvm/test/Feature/intrinsics.ll7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/test/Feature/intrinsics.ll b/llvm/test/Feature/intrinsics.ll
index 51f738c9efd..89261e187ed 100644
--- a/llvm/test/Feature/intrinsics.ll
+++ b/llvm/test/Feature/intrinsics.ll
@@ -1,7 +1,4 @@
-declare bool %llvm.isnan(float)
-declare bool %llvm.isnan(double)
-
declare bool %llvm.isunordered(float, float)
declare bool %llvm.isunordered(double, double)
@@ -10,9 +7,7 @@ implementation
; Test llvm intrinsics
;
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)
+ call bool %llvm.isunordered(double 0.0, double double 0x7FF8000000000000)
ret void
}
OpenPOWER on IntegriCloud