blob: 631bc9231220b321ec5aaef5c716c4956f71b88c [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
2; RUN: grep movsd | wc -l | grep 1
3; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
4; RUN: grep ucomisd
5declare bool %llvm.isunordered.f64(double,double)
6
7bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
8 %COM = call bool %llvm.isunordered.f64(double %X, double %Y)
9 ret bool %COM
10}