llvm-6502/test/CodeGen/X86/compare_folding.llx
Evan Cheng 32159c13f9 Update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30895 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-12 01:42:03 +00:00

9 lines
309 B
Plaintext

; RUN: llvm-as < %s | llc -march=x86 | grep movsd | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 | grep ucomisd
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
}