blob: 3d8e6c75fcaec0c69c397d3dcdea2f60564af3ab [file] [log] [blame]
Chris Lattnerc31ae502004-06-11 05:30:34 +00001; RUN: llvm-as < %s | llc -march=x86 | grep com | wc -l > %t2
2; RUN: grep 'COM =' %s | grep -v grep | wc -l > %t1
3; RUN: diff %t1 %t2
4declare bool %llvm.isnan(double)
5
6bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
7 %a = call bool %llvm.isnan(double %X)
8 %b = call bool %llvm.isnan(double %Y)
9 %COM = or bool %a, %b
10 ret bool %COM
11}