]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/ARM/fast-isel-call-multi-reg-return.ll
Vendor import of llvm RELEASE_360/rc3 tag r229040 (effectively, 3.6.0 RC3):
[FreeBSD/FreeBSD.git] / test / CodeGen / ARM / fast-isel-call-multi-reg-return.ll
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=armv7-linux-gnueabi | FileCheck %s --check-prefix=ARM
3 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
4
5 ; Fast-isel can't handle non-double multi-reg retvals.
6 ; This test just check to make sure we don't hit the assert in FinishCall.
7 define <16 x i8> @foo() nounwind ssp {
8 entry:
9   ret <16 x i8> zeroinitializer
10 }
11
12 define void @t1() nounwind ssp {
13 entry:
14 ; ARM: @t1
15 ; THUMB: @t1
16   %call = call <16 x i8> @foo()
17   ret void
18 }