1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/X86/store-fp-constant.ll

20 lines
515 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86 | not grep rodata
; RUN: llc < %s -march=x86 | not grep literal
2005-01-08 06:44:07 +01:00
;
; Check that no FP constants in this testcase ends up in the
; constant pool.
@G = external global float ; <float*> [#uses=1]
2005-01-08 06:44:07 +01:00
declare void @extfloat(float)
2005-01-08 06:44:07 +01:00
declare void @extdouble(double)
2005-01-08 06:44:07 +01:00
define void @testfloatstore() {
call void @extfloat( float 0x40934999A0000000 )
call void @extdouble( double 0x409349A631F8A090 )
store float 0x402A064C20000000, float* @G
2005-01-08 06:44:07 +01:00
ret void
}