summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/negative_zero.ll
blob: c8c2cd753e080f065713c77b04a2cce43b42b329 (plain)
1
2
3
4
5
6
7
8
; 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
}