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

7 lines
155 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | grep fchs
2005-01-07 05:18:53 +08:00
define double @T() {
2005-01-07 05:18:53 +08:00
ret double -1.0 ;; codegen as fld1/fchs, not as a load from cst pool
}