blob: 64ffc60e8453c06f96979489eea7b6803e6b7b87 [file] [log] [blame]
Akira Hatanaka9029cf22011-08-11 22:42:31 +00001; RUN: llc -march=mipsel < %s | FileCheck %s
2
Dan Gohman6b13cd42011-09-01 23:07:08 +00003; byval is currently unsupported.
4; XFAIL: *
5
Akira Hatanaka9029cf22011-08-11 22:42:31 +00006; CHECK: .set macro
7; CHECK-NEXT: .cprestore
8; CHECK-NEXT: .set nomacro
9
10%struct.S = type { [16384 x i32] }
11
12define void @foo2() nounwind {
13entry:
14 %s = alloca %struct.S, align 4
15 call void @foo1(%struct.S* byval %s)
16 ret void
17}
18
19declare void @foo1(%struct.S* byval)