blob: e138688b1193beed3af195323bf0be43d5ab757d [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
Dan Gohman8c89a502007-08-15 13:36:28 +00002; RUN: grep movsd | count 1
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003; 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}