[x86] Fold extract_vector_elt of a load into the Load's address computation.
[oota-llvm.git] / test / CodeGen / X86 / store-fp-constant.ll
1 ; RUN: llc < %s -march=x86 | FileCheck %s
2
3 ; CHECK-NOT: rodata
4 ; CHECK-NOT: literal
5
6 ;
7 ; Check that no FP constants in this testcase ends up in the 
8 ; constant pool.
9
10 @G = external global float              ; <float*> [#uses=1]
11
12 declare void @extfloat(float)
13
14 declare void @extdouble(double)
15
16 define void @testfloatstore() {
17         call void @extfloat( float 0x40934999A0000000 )
18         call void @extdouble( double 0x409349A631F8A090 )
19         store float 0x402A064C20000000, float* @G
20         ret void
21 }
22