Home | History | Annotate | Download | only in Thumb2
      1 ; RUN: llc < %s -mtriple=armv7-eabi -mattr=+vfp2
      2 ; PR4686
      3 
      4 @g_d = external global double		; <double*> [#uses=1]
      5 
      6 define void @foo(float %yIncr) {
      7 entry:
      8 	br i1 undef, label %bb, label %bb4
      9 
     10 bb:		; 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 
     16 bb4:		; preds = %bb, %entry
     17 	unreachable
     18 }
     19 
     20 declare arm_aapcs_vfpcc float @bar()
     21