This testcase is a bit silly now, but oh well :)

llvm-svn: 14188
This commit is contained in:
Chris Lattner 2004-06-15 21:46:16 +00:00
parent de2f567a20
commit ee92bfca97
1 changed files with 2 additions and 4 deletions

View File

@ -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
}