summaryrefslogtreecommitdiff
path: root/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
commit6c07f30dbec03185ebdc113a8318b2e9e1736e20 (patch)
tree32f63119e547f20181d6b86d44d095eb6f8259bc /test/Feature/intrinsics.ll
parentd6a10537457cea6f8fabc0bd7a3cd89d5ab593ae (diff)
downloadllvm-6c07f30dbec03185ebdc113a8318b2e9e1736e20.tar.gz
llvm-6c07f30dbec03185ebdc113a8318b2e9e1736e20.tar.bz2
llvm-6c07f30dbec03185ebdc113a8318b2e9e1736e20.tar.xz
Add a nan, stop testing isnan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/intrinsics.ll')
-rw-r--r--test/Feature/intrinsics.ll7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Feature/intrinsics.ll b/test/Feature/intrinsics.ll
index 51f738c9ef..89261e187e 100644
--- a/test/Feature/intrinsics.ll
+++ b/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
}