mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
2ebb4f81f7
for the linux targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106029 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
464 B
LLVM
21 lines
464 B
LLVM
; 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()
|