llvm.org GIT mirror llvm / release_20 test / CodeGen / X86 / fp-immediate-shorten.ll
release_20

Tree @release_20 (Download .tar.gz)

fp-immediate-shorten.ll @release_20raw · history · blame

1
2
3
4
5
6
;; Test that this FP immediate is stored in the constant pool as a float.

; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=-sse2,-sse3 | \
; RUN:   grep {.long.1123418112}

double %D() { ret double 123.0 }