llvm-project/llvm/test/CodeGen/X86/negative_zero.ll

9 lines
173 B
LLVM

; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | FileCheck %s
; CHECK: fchs
define double @T() {
ret double -1.0 ;; codegen as fld1/fchs, not as a load from cst pool
}