You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
464 B
21 lines
464 B
4 months ago
|
; RUN: llc < %s -mtriple=armv7-eabi -mattr=+vfp2
|
||
|
; PR4686
|
||
|
|
||
|
@g_d = external global double ; <double*> [#uses=1]
|
||
|
|
||
|
define void @foo(float %yIncr) {
|
||
|
entry:
|
||
|
br i1 undef, label %bb, label %bb4
|
||
|
|
||
|
bb: ; preds = %entry
|
||
|
%0 = call arm_aapcs_vfpcc float @bar() ; <float> [#uses=1]
|
||
|
%1 = fpext float %0 to double ; <double> [#uses=1]
|
||
|
store double %1, double* @g_d, align 8
|
||
|
br label %bb4
|
||
|
|
||
|
bb4: ; preds = %bb, %entry
|
||
|
unreachable
|
||
|
}
|
||
|
|
||
|
declare arm_aapcs_vfpcc float @bar()
|