blob: 206886bb608fdcc585a5652b6a2263c869d82571 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 | not grep rodata
2; RUN: llc < %s -march=x86 | not grep literal
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003;
4; Check that no FP constants in this testcase ends up in the
5; constant pool.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006
Tanya Lattner632e88a2008-02-21 07:42:26 +00007@G = external global float ; <float*> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008
Tanya Lattner632e88a2008-02-21 07:42:26 +00009declare void @extfloat(float)
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010
Tanya Lattner632e88a2008-02-21 07:42:26 +000011declare void @extdouble(double)
Dan Gohmanf17a25c2007-07-18 16:29:46 +000012
Tanya Lattner632e88a2008-02-21 07:42:26 +000013define void @testfloatstore() {
14 call void @extfloat( float 0x40934999A0000000 )
15 call void @extdouble( double 0x409349A631F8A090 )
16 store float 0x402A064C20000000, float* @G
Dan Gohmanf17a25c2007-07-18 16:29:46 +000017 ret void
18}
19