aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fp-immediate-shorten.ll
blob: c20a2e8d58c4b86b1f6494408f6e0ff046ce3065 (plain)
1
2
3
4
5
;; Test that this FP immediate is stored in the constant pool as a float.

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

double %D() { ret double 123.0 }