Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

28 lines
667 B
LLVM

; RUN: llc -o - %s | FileCheck %s
target triple = "armv7"
; CHECK-LABEL: func:
; CHECK: push {r11, lr}
; CHECK: vpush {d8}
; CEHCK: b .LBB0_2
define arm_aapcscc double @func() {
br label %tailrecurse
tailrecurse:
%v0 = load i16, i16* undef, align 8
%cond36.i = icmp eq i16 %v0, 3
br i1 %cond36.i, label %sw.bb.i, label %sw.epilog.i
sw.bb.i:
%v1 = load double, double* undef, align 8
%call21.i = tail call arm_aapcscc double @func()
%mul.i = fmul double %v1, %call21.i
ret double %mul.i
sw.epilog.i:
tail call arm_aapcscc void @_ZNK10shared_ptrdeEv()
br label %tailrecurse
}
declare arm_aapcscc void @_ZNK10shared_ptrdeEv() local_unnamed_addr