| 1 |
# REQUIRES: amdgpu-registered-target |
| 2 |
# RUN: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa --delta-passes=instructions --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log |
| 3 |
# RUN: FileCheck --match-full-lines --check-prefix=RESULT %s < %t |
| 4 |
|
| 5 |
# CHECK-INTERESTINGNESS: S_ENDPGM |
| 6 |
|
| 7 |
# Make sure we preserve the default value of unset maxCallFrameSize, |
| 8 |
# and don't treat it as computed to 0. |
| 9 |
|
| 10 |
# RESULT: frameInfo: |
| 11 |
# RESULT-NOT: maxCallFrameSize |
| 12 |
--- |
| 13 |
name: func |
| 14 |
tracksRegLiveness: true |
| 15 |
frameInfo: |
| 16 |
maxCallFrameSize: 4294967295 |
| 17 |
body: | |
| 18 |
bb.0: |
| 19 |
S_NOP 0 |
| 20 |
S_ENDPGM 0 |
| 21 |
... |