aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/store-fp-constant.ll
blob: b0124dd5539244353e1ff58f3fe0e0b310502099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; RUN: llc < %s -mtriple=i686-- | FileCheck %s

; CHECK-NOT: rodata
; CHECK-NOT: literal

;
; Check that no FP constants in this testcase ends up in the 
; constant pool.

@G = external dso_local global float              ; <ptr> [#uses=1]

declare void @extfloat(float)

declare void @extdouble(double)

define void @testfloatstore() {
        call void @extfloat( float 0x40934999A0000000 )
        call void @extdouble( double 0x409349A631F8A090 )
        store float 0x402A064C20000000, ptr @G
        ret void
}