22 lines
678 B
YAML
22 lines
678 B
YAML
# REQUIRES: amdgpu-registered-target
|
|
# 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
|
|
# RUN: FileCheck --match-full-lines --check-prefix=RESULT %s < %t
|
|
|
|
# CHECK-INTERESTINGNESS: S_ENDPGM
|
|
|
|
# Make sure we preserve the default value of unset maxCallFrameSize,
|
|
# and don't treat it as computed to 0.
|
|
|
|
# RESULT: frameInfo:
|
|
# RESULT-NOT: maxCallFrameSize
|
|
---
|
|
name: func
|
|
tracksRegLiveness: true
|
|
frameInfo:
|
|
maxCallFrameSize: 4294967295
|
|
body: |
|
|
bb.0:
|
|
S_NOP 0
|
|
S_ENDPGM 0
|
|
...
|