blob: 3a80080383c870a4899d68b9c944291e86cf61f5 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep rodata
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep literal
3;
4; Check that no FP constants in this testcase ends up in the
5; constant pool.
6%G = external global float
7
8
9declare void %extfloat(float %F)
10declare void %extdouble(double)
11
12implementation
13
14void %testfloatstore() {
15 call void %extfloat(float 1234.4)
16 call void %extdouble(double 1234.4123)
17 store float 13.0123, float* %G
18 ret void
19}
20