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