Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / Mips / cprestore.ll
1 ; DISABLE: llc -march=mipsel < %s | FileCheck %s
2 ; RUN: false
3 ; XFAIL: *
4
5 ; CHECK: .set macro
6 ; CHECK: .set at
7 ; CHECK-NEXT: .cprestore
8 ; CHECK: .set noat
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)