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