2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-- | FileCheck %s
|
2013-04-30 06:41:29 +08:00
|
|
|
|
|
|
|
; CHECK-NOT: rodata
|
|
|
|
; CHECK-NOT: literal
|
|
|
|
|
2005-01-08 13:44:07 +08:00
|
|
|
;
|
|
|
|
; Check that no FP constants in this testcase ends up in the
|
|
|
|
; constant pool.
|
|
|
|
|
2008-02-21 15:42:26 +08:00
|
|
|
@G = external global float ; <float*> [#uses=1]
|
2005-01-08 13:44:07 +08:00
|
|
|
|
2008-02-21 15:42:26 +08:00
|
|
|
declare void @extfloat(float)
|
2005-01-08 13:44:07 +08:00
|
|
|
|
2008-02-21 15:42:26 +08:00
|
|
|
declare void @extdouble(double)
|
2005-01-08 13:44:07 +08:00
|
|
|
|
2008-02-21 15:42:26 +08:00
|
|
|
define void @testfloatstore() {
|
|
|
|
call void @extfloat( float 0x40934999A0000000 )
|
|
|
|
call void @extdouble( double 0x409349A631F8A090 )
|
|
|
|
store float 0x402A064C20000000, float* @G
|
2005-01-08 13:44:07 +08:00
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|