| 1 |
# REQUIRES: amdgpu-registered-target |
| 2 |
# RUN: llvm-reduce -abort-on-invalid-reduction --delta-passes=instructions -mtriple=amdgcn-amd-amdhsa --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log |
| 3 |
# RUN: FileCheck --check-prefix=RESULT %s < %t |
| 4 |
|
| 5 |
# CHECK-INTERESTINGNESS: S_NOP 0 |
| 6 |
|
| 7 |
# RESULT: ADJCALLSTACKUP |
| 8 |
# RESULT-NEXT: ADJCALLSTACKDOWN |
| 9 |
# RESULT-NEXT: S_ENDPGM 0 |
| 10 |
|
| 11 |
--- |
| 12 |
name: frame_setup_destroy |
| 13 |
tracksRegLiveness: true |
| 14 |
machineFunctionInfo: |
| 15 |
stackPtrOffsetReg: '$sgpr32' |
| 16 |
body: | |
| 17 |
bb.0: |
| 18 |
S_NOP 0 |
| 19 |
ADJCALLSTACKUP 0, 0, implicit-def dead $scc, implicit-def $sgpr32, implicit $sgpr32 |
| 20 |
S_NOP 0 |
| 21 |
ADJCALLSTACKDOWN 0, 0, implicit-def dead $scc, implicit-def $sgpr32, implicit $sgpr32 |
| 22 |
S_ENDPGM 0 |
| 23 |
|
| 24 |
... |