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
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
13 # CHECK-NEXT: - NumStackBytes: '16'
14 # CHECK-NEXT: - String: ' stack bytes in function '''
15 # CHECK-NEXT: - Function: fun0
16 # CHECK-NEXT: - String: ''''
27 - { id: 0, type: default, offset: 0, size: 19, alignment: 4 }
28 # CHECK-LABEL: --- !Analysis
29 # CHECK-NEXT: Pass: prologepilog
30 # CHECK-NEXT: Name: StackSize
31 # CHECK: Function: fun1
33 # CHECK-NEXT: - NumStackBytes: '32'
34 # CHECK-NEXT: - String: ' stack bytes in function '''
35 # CHECK-NEXT: - Function: fun1
36 # CHECK-NEXT: - String: ''''
47 - { id: 0, type: default, offset: 0, size: 1024, alignment: 4 }
48 # CHECK-LABEL: --- !Analysis
49 # CHECK: Pass: prologepilog
50 # CHECK-NEXT: Name: StackSize
51 # CHECK: Function: fun2
53 # CHECK-NEXT: - NumStackBytes: '1040'
54 # CHECK-NEXT: - String: ' stack bytes in function '''
55 # CHECK-NEXT: - Function: fun2
56 # CHECK-NEXT: - String: ''''