aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/fneg.ll
blob: 20433da3bbe50fc2cfb8e6e66d2da672319d3094 (plain) (blame)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=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
}