blob: 2d003f01bf1e63f2a6cb009b8a82a0dda99969cd [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
Chris Lattner85a14bb2004-06-15 21:46:16 +00004declare bool %llvm.isunordered(double,double)
Chris Lattnerc31ae502004-06-11 05:30:34 +00005
6bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
Chris Lattner85a14bb2004-06-15 21:46:16 +00007 %COM = call bool %llvm.isunordered(double %X, double %Y)
Chris Lattnerc31ae502004-06-11 05:30:34 +00008 ret bool %COM
9}