3fb7b0186940969f43055433fff668643f589ffc
[oota-llvm.git] / test / CodeGen / XCore / fneg.ll
1 ; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2 ; RUN: grep "xor" %t1.s | count 1
3 define i1 @test(double %F) nounwind {
4 entry:
5         %0 = fsub double -0.000000e+00, %F
6         %1 = fcmp olt double 0.000000e+00, %0
7         ret i1 %1
8 }