• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=armv7-eabi -mattr=+vfp2
2; PR4686
3
4@g_d = external global double		; <double*> [#uses=1]
5
6define void @foo(float %yIncr) {
7entry:
8	br i1 undef, label %bb, label %bb4
9
10bb:		; preds = %entry
11	%0 = call arm_aapcs_vfpcc  float @bar()		; <float> [#uses=1]
12	%1 = fpext float %0 to double		; <double> [#uses=1]
13	store double %1, double* @g_d, align 8
14	br label %bb4
15
16bb4:		; preds = %bb, %entry
17	unreachable
18}
19
20declare arm_aapcs_vfpcc float @bar()
21