xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/store-fp-constant.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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
12declare void @extfloat(float)
13
14declare void @extdouble(double)
15
16define 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
23