xref: /aosp_15_r20/external/llvm/test/CodeGen/XCore/fneg.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=xcore | FileCheck %s
2define i1 @test(double %F) nounwind {
3entry:
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}
10