llvm.memory.barrier, and impl for x86 and alpha
[oota-llvm.git] / test / CodeGen / X86 / compare_folding.llx
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
2 ; RUN:   grep movsd | count 1
3 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
4 ; RUN:   grep ucomisd
5 declare bool %llvm.isunordered.f64(double,double)
6
7 bool %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 }