391f5c714dbba8585cdeb26c5d7557efa2a19148
[oota-llvm.git] / test / CodeGen / Mips / cprestore.ll
1 ; DISABLED: llc -march=mipsel < %s | FileCheck %s
2 ; RUN: false
3
4 ; byval is currently unsupported.
5 ; XFAIL: *
6
7 ; CHECK: .set macro
8 ; CHECK-NEXT: .cprestore
9 ; CHECK-NEXT: .set nomacro
10
11 %struct.S = type { [16384 x i32] }
12
13 define void @foo2() nounwind {
14 entry:
15   %s = alloca %struct.S, align 4
16   call void @foo1(%struct.S* byval %s)
17   ret void
18 }
19
20 declare void @foo1(%struct.S* byval)