Fix PR4639, a ELF-TLS regression from some of my refactoring.
[oota-llvm.git] / test / CodeGen / X86 / store-fp-constant.ll
1 ; RUN: llvm-as < %s | llc -march=x86 | not grep rodata
2 ; RUN: llvm-as < %s | llc -march=x86 | not grep literal
3 ;
4 ; Check that no FP constants in this testcase ends up in the 
5 ; constant pool.
6
7 @G = external global float              ; <float*> [#uses=1]
8
9 declare void @extfloat(float)
10
11 declare void @extdouble(double)
12
13 define void @testfloatstore() {
14         call void @extfloat( float 0x40934999A0000000 )
15         call void @extdouble( double 0x409349A631F8A090 )
16         store float 0x402A064C20000000, float* @G
17         ret void
18 }
19