llvm.org GIT mirror llvm / 5b05711 test / CodeGen / X86 / store-fp-constant.ll
5b05711

Tree @5b05711 (Download .tar.gz)

store-fp-constant.ll @5b05711

26ebdd1
 
 
 
 
fb0c3bd
 
 
 
33eefff
fb0c3bd
33eefff
fb0c3bd
33eefff
fb0c3bd
33eefff
 
 
 
fb0c3bd
 
 
; RUN: llc < %s -march=x86 | FileCheck %s

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

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

@G = external global float              ; <float*> [#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, float* @G
        ret void
}