Chris Lattner | c31ae50 | 2004-06-11 05:30:34 +0000 | [diff] [blame] | 1 | ; 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 Lattner | 85a14bb | 2004-06-15 21:46:16 +0000 | [diff] [blame] | 4 | declare bool %llvm.isunordered(double,double) |
Chris Lattner | c31ae50 | 2004-06-11 05:30:34 +0000 | [diff] [blame] | 5 | |
| 6 | bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y) |
Chris Lattner | 85a14bb | 2004-06-15 21:46:16 +0000 | [diff] [blame] | 7 | %COM = call bool %llvm.isunordered(double %X, double %Y) |
Chris Lattner | c31ae50 | 2004-06-11 05:30:34 +0000 | [diff] [blame] | 8 | ret bool %COM |
| 9 | } |