XCore target test for hidden declaration
[oota-llvm.git] / test / CodeGen / XCore / fneg.ll
1 ; RUN: llc < %s -march=xcore | FileCheck %s
2 define i1 @test(double %F) nounwind {
3 entry:
4 ; CHECK-LABEL: test:
5 ; CHECK: xor
6         %0 = fsub double -0.000000e+00, %F
7         %1 = fcmp olt double 0.000000e+00, %0
8         ret i1 %1
9 }