1 # RUN: llc -mtriple=x86_64-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
5 define void @fun0() noredzone { ret void }
6 define void @fun1() noredzone { ret void }
7 define void @fun2() noredzone { ret void }
13 - { id: 0, type: default, offset: 0, size: 8, alignment: 4 }
15 # CHECK: Pass: prologepilog
16 # CHECK-NEXT: Name: StackSize
17 # CHECK-NEXT: Function: fun0
19 # CHECK-NEXT: - NumStackBytes: '8'
20 # CHECK-NEXT: - String: ' stack bytes in function '''
21 # CHECK-NEXT: - Function: fun0
22 # CHECK-NEXT: - String: ''''
34 - { id: 0, type: default, offset: 0, size: 19, alignment: 4 }
36 # CHECK: Pass: prologepilog
37 # CHECK-NEXT: Name: StackSize
38 # CHECK-NEXT: Function: fun1
40 # CHECK-NEXT: - NumStackBytes: '20'
41 # CHECK-NEXT: - String: ' stack bytes in function '''
42 # CHECK-NEXT: - Function: fun1
43 # CHECK-NEXT: - String: ''''
54 - { id: 0, type: default, offset: 0, size: 1024, alignment: 8 }
56 # CHECK: Pass: prologepilog
57 # CHECK-NEXT: Name: StackSize
58 # CHECK-NEXT: Function: fun2
60 # CHECK-NEXT: - NumStackBytes: '1024'
61 # CHECK-NEXT: - String: ' stack bytes in function '''
62 # CHECK-NEXT: - Function: fun2
63 # CHECK-NEXT: - String: ''''