Remove some register allocation order dependencies.
[oota-llvm.git] / test / CodeGen / ARM / fast-isel-call-multi-reg-return.ll
1 ; RUN: llc < %s -O0 -verify-machineinstrs -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
2 ; RUN: llc < %s -O0 -verify-machineinstrs -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.
6 define <16 x i8> @foo() nounwind ssp {
7 entry:
8   ret <16 x i8> zeroinitializer
9 }
10
11 define void @t1() nounwind ssp {
12 entry:
13 ; ARM: @t1
14 ; THUMB: @t1
15   %call = call <16 x i8> @foo()
16   ret void
17 }