summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitee92bfca97e3338c89f74ae40cfba0fef1076ecc (patch)
tree6199de4d35bd07a7b09d04a14ea8733a8d6841a1 /llvm
parentde2f567a2093d09bed49896daffc05c1478238d3 (diff)
downloadbcm5719-llvm-ee92bfca97e3338c89f74ae40cfba0fef1076ecc.tar.gz
bcm5719-llvm-ee92bfca97e3338c89f74ae40cfba0fef1076ecc.zip
This testcase is a bit silly now, but oh well :)
llvm-svn: 14188
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/CodeGen/X86/compare_folding.llx6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/compare_folding.llx b/llvm/test/Regression/CodeGen/X86/compare_folding.llx
index 3d8e6c75fca..2d003f01bf1 100644
--- a/llvm/test/Regression/CodeGen/X86/compare_folding.llx
+++ b/llvm/test/Regression/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
}
OpenPOWER on IntegriCloud