summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-15 21:46:16 +0000
committerChris Lattner <sabre@nondot.org>2004-06-15 21:46:16 +0000
commit85a14bb586335abbe769800f399c4945136e244e (patch)
tree83facd181a5df9bf7ded467bd18a3d92fb8353ee /test
parentbe78ac442216ef87b13f9ac3da365a693417c693 (diff)
downloadllvm-85a14bb586335abbe769800f399c4945136e244e.tar.gz
llvm-85a14bb586335abbe769800f399c4945136e244e.tar.bz2
llvm-85a14bb586335abbe769800f399c4945136e244e.tar.xz
This testcase is a bit silly now, but oh well :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/compare_folding.llx6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/X86/compare_folding.llx b/test/CodeGen/X86/compare_folding.llx
index 3d8e6c75fc..2d003f01bf 100644
--- a/test/CodeGen/X86/compare_folding.llx
+++ b/test/CodeGen/X86/compare_folding.llx
@@ -1,11 +1,9 @@
; RUN: llvm-as < %s | llc -march=x86 | grep com | wc -l > %t2
; RUN: grep 'COM =' %s | grep -v grep | wc -l > %t1
; RUN: diff %t1 %t2
-declare bool %llvm.isnan(double)
+declare bool %llvm.isunordered(double,double)
bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
- %a = call bool %llvm.isnan(double %X)
- %b = call bool %llvm.isnan(double %Y)
- %COM = or bool %a, %b
+ %COM = call bool %llvm.isunordered(double %X, double %Y)
ret bool %COM
}