1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mcpu=i486 | FileCheck %s
3; PR1505
4
5target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
6target triple = "i686-apple-darwin8"
7@G = weak global float 0.000000e+00		; <float*> [#uses=1]
8
9define void @t1(float %F) {
10; CHECK-LABEL: t1:
11; CHECK:       ## %bb.0: ## %entry
12; CHECK-NEXT:    flds {{[0-9]+}}(%esp)
13; CHECK-NEXT:    movl L_G$non_lazy_ptr, %eax
14; CHECK-NEXT:    fstps (%eax)
15; CHECK-NEXT:    retl
16entry:
17	store float %F, float* @G
18	ret void
19}
20