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 --- 5 name: fun0 6 stack: 7 - { id: 0, type: default, offset: 0, size: 8, alignment: 4 } 8 # CHECK: --- !Analysis 9 # CHECK-NEXT: Pass: prologepilog 10 # CHECK-NEXT: Name: StackSize 11 # CHECK-NEXT: Function: fun0 12 # CHECK-NEXT: Args: 13 # CHECK-NEXT: - NumStackBytes: '16' 14 # CHECK-NEXT: - String: ' stack bytes in function' 15 # CHECK-NEXT: ... 16 constants: 17 body: | 18 bb.0: 19 RET_ReallyLR 20 21 ... 22 --- 23 name: fun1 24 stack: 25 - { id: 0, type: default, offset: 0, size: 19, alignment: 4 } 26 # CHECK: --- !Analysis 27 # CHECK-NEXT: Pass: prologepilog 28 # CHECK-NEXT: Name: StackSize 29 # CHECK-NEXT: Function: fun1 30 # CHECK-NEXT: Args: 31 # CHECK-NEXT: - NumStackBytes: '32' 32 # CHECK-NEXT: - String: ' stack bytes in function' 33 # CHECK-NEXT: ... 34 constants: 35 body: | 36 bb.0: 37 RET_ReallyLR 38 39 ... 40 --- 41 name: fun2 42 stack: 43 - { id: 0, type: default, offset: 0, size: 1024, alignment: 4 } 44 # --- !Analysis 45 # CHECK: Pass: prologepilog 46 # CHECK-NEXT: Name: StackSize 47 # CHECK-NEXT: Function: fun2 48 # CHECK-NEXT: Args: 49 # CHECK-NEXT: - NumStackBytes: '1040' 50 # CHECK-NEXT: - String: ' stack bytes in function' 51 # CHECK-NEXT: ... 52 constants: 53 body: | 54 bb.0: 55 RET_ReallyLR 56 57 ... 58