Files
llvm/test/CodeGen/XCore/fneg.ll
T
Cameron McInally 58c78758f4 Revert "[NFC][CodeGen] Add unary FNeg tests to some X86/ and XCore/ tests."
This reverts commit 4f3cf3853e1145e3e08fb42ace79ba3e4e268540.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363309 91177308-0d34-0410-b5e6-96231b3b80d8
2019-06-13 19:24:51 +00:00

10 lines
212 B
LLVM

; 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
}