
Test updates were performed using: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only the test updates where the test passed without further modification (which is almost all of them, as the backend is largely pointer-type agnostic).
23 lines
518 B
LLVM
23 lines
518 B
LLVM
; 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
|
|
}
|
|
|