1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/Regression/CodeGen/X86/compare_folding.llx
2004-06-15 21:46:16 +00:00

10 lines
321 B
Plaintext

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