mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
650c315835
This reverts r369664 (git commit 51f48295cbe8fa3a44db263b528dd9f7bae7bf9a) It causes many benchmark regressions, internally and in llvm's benchmark suite. llvm-svn: 370398
28 lines
681 B
LLVM
28 lines
681 B
LLVM
; RUN: llc -o - %s | FileCheck %s
|
|
target triple = "armv7"
|
|
|
|
; CHECK-LABEL: func:
|
|
; CHECK: push {r11, lr}
|
|
; CHECK: vpush {d8}
|
|
; CHECK: .LBB0_1: @ %tailrecurse
|
|
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
|