llvm-for-llvmta/test/CodeGen/X86/negative_zero.ll

9 lines
178 B
LLVM

; RUN: llc < %s -mtriple=i686-- -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
}