mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-17 18:10:31 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
515 B
LLVM
20 lines
515 B
LLVM
; RUN: llc < %s -march=x86 | not grep rodata
|
|
; RUN: llc < %s -march=x86 | not grep 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
|
|
}
|
|
|