mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-11 08:07:22 +00:00
2a2e9d54e9
retval. Hoists check before emitting the call to avoid unnecessary work. rdar://11430407 PR12796 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156628 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
549 B
LLVM
18 lines
549 B
LLVM
; RUN: llc < %s -O0 -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
|
|
; RUN: llc < %s -O0 -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
|
|
|
|
; Fast-isel can't handle non-double multi-reg retvals.
|
|
; This test just check to make sure we don't hit the assert in FinishCall.
|
|
define <16 x i8> @foo() nounwind ssp {
|
|
entry:
|
|
ret <16 x i8> zeroinitializer
|
|
}
|
|
|
|
define void @t1() nounwind ssp {
|
|
entry:
|
|
; ARM: @t1
|
|
; THUMB: @t1
|
|
%call = call <16 x i8> @foo()
|
|
ret void
|
|
}
|