xref: /llvm-project/llvm/test/CodeGen/XCore/fneg.ll (revision f1987c74ee5637ec248675a9a7070654167a5260)
1; RUN: llc < %s -mtriple=xcore | FileCheck %s
2define i1 @test(double %F, double %G) nounwind {
3entry:
4; CHECK-LABEL: test:
5; CHECK: xor
6	%0 = fsub double -0.000000e+00, %F
7	%1 = fcmp olt double %G, %0
8	ret i1 %1
9}
10