Enhance address-mode folding of ISD::ADD to handle cases where the
[oota-llvm.git] / test / CodeGen / XCore / fneg.ll
1 ; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2 ; RUN: grep "bl __subdf3" %t1.s | count 1
3 define i1 @test(double %F) nounwind {
4 entry:
5         %0 = sub double -0.000000e+00, %F
6         %1 = fcmp olt double 0.000000e+00, %0
7         ret i1 %1
8 }