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'
32 - { id: 0, type: default, offset: 0, size: 19, alignment: 4 }
34 # CHECK: Pass: prologepilog
35 # CHECK-NEXT: Name: StackSize
36 # CHECK-NEXT: Function: fun1
38 # CHECK-NEXT: - NumStackBytes: '20'
39 # CHECK-NEXT: - String: ' stack bytes in function'
50 - { id: 0, type: default, offset: 0, size: 1024, alignment: 8 }
52 # CHECK: Pass: prologepilog
53 # CHECK-NEXT: Name: StackSize
54 # CHECK-NEXT: Function: fun2
56 # CHECK-NEXT: - NumStackBytes: '1024'
57 # CHECK-NEXT: - String: ' stack bytes in function'