xref: /llvm-project/llvm/test/CodeGen/ARM/fast-isel-call-multi-reg-return.ll (revision bd7c6e5015177cf50e8094bcb7cb863d9f91b4e5)
1; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
2; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
3
4; Fast-isel can't handle non-double multi-reg retvals.
5; This test just check to make sure we don't hit the assert in FinishCall.
6define <16 x i8> @foo() nounwind ssp {
7entry:
8  ret <16 x i8> zeroinitializer
9}
10
11define void @t1() nounwind ssp {
12entry:
13; ARM: @t1
14; THUMB: @t1
15  %call = call <16 x i8> @foo()
16  ret void
17}
18