Testcase for P926
[oota-llvm.git] / test / CodeGen / X86 / store-fp-constant.ll
1 ; RUN: llvm-as < %s | llc -march=x86 | not grep rodata
2 ;
3 ; Check that no FP constants in this testcase ends up in the 
4 ; constant pool.
5 %G = external global float 
6
7
8 declare void %extfloat(float %F)
9 declare void %extdouble(double)
10
11 implementation
12
13 void %testfloatstore() {
14         call void %extfloat(float 1234.4)
15         call void %extdouble(double 1234.4123)
16         store float 13.0123, float* %G
17         ret void
18 }
19