aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/compare_folding.llx
blob: 2d003f01bf1e63f2a6cb009b8a82a0dda99969cd (plain)
1
2
3
4
5
6
7
8
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.isunordered(double,double)

bool %test1(double %X, double %Y) {  ;; Returns isunordered(X,Y)
	%COM = call bool %llvm.isunordered(double %X, double %Y)
	ret bool %COM
}