1# RUN: llc -mtriple=aarch64-unknown-unknown -run-pass=prologepilog -pass-remarks-output=%t -pass-remarks-analysis=prologepilog -o /dev/null %s 2>&1
2# RUN: cat %t | FileCheck %s
3...
4---
5name:            fun0
6stack:
7  - { id: 0, type: default, offset: 0, size: 8, alignment: 4 }
8# CHECK-LABEL: --- !Analysis
9# CHECK-NEXT: Pass:            prologepilog
10# CHECK-NEXT: Name:            StackSize
11# CHECK:      Function:        fun0
12# CHECK-NEXT: Args:
13# CHECK-NEXT:   - NumStackBytes:   '16'
14# CHECK-NEXT:   - String:          ' stack bytes in function'
15# CHECK-NEXT: ...
16constants:
17body:             |
18  bb.0:
19    RET_ReallyLR
20
21...
22---
23name:            fun1
24stack:
25  - { id: 0, type: default, offset: 0, size: 19, alignment: 4 }
26# CHECK-LABEL: --- !Analysis
27# CHECK-NEXT: Pass:            prologepilog
28# CHECK-NEXT: Name:            StackSize
29# CHECK:      Function:        fun1
30# CHECK-NEXT: Args:
31# CHECK-NEXT:   - NumStackBytes:   '32'
32# CHECK-NEXT:   - String:          ' stack bytes in function'
33# CHECK-NEXT: ...
34constants:
35body:             |
36  bb.0:
37    RET_ReallyLR
38
39...
40---
41name:            fun2
42stack:
43  - { id: 0, type: default, offset: 0, size: 1024, alignment: 4 }
44# CHECK-LABEL: --- !Analysis
45# CHECK: Pass:            prologepilog
46# CHECK-NEXT: Name:            StackSize
47# CHECK:      Function:        fun2
48# CHECK-NEXT: Args:
49# CHECK-NEXT:   - NumStackBytes:   '1040'
50# CHECK-NEXT:   - String:          ' stack bytes in function'
51# CHECK-NEXT: ...
52constants:
53body:             |
54  bb.0:
55    RET_ReallyLR
56
57...
58