25 lines · plain
1# REQUIRES: amdgpu-registered-target2# 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.log3# RUN: FileCheck --check-prefix=RESULT %s < %t4 5# CHECK-INTERESTINGNESS: S_NOP 06 7# RESULT: ADJCALLSTACKUP8# RESULT-NEXT: ADJCALLSTACKDOWN9# RESULT-NEXT: S_ENDPGM 010 11---12name: frame_setup_destroy13tracksRegLiveness: true14machineFunctionInfo:15 stackPtrOffsetReg: '$sgpr32'16body: |17 bb.0:18 S_NOP 019 ADJCALLSTACKUP 0, 0, implicit-def dead $scc, implicit-def $sgpr32, implicit $sgpr3220 S_NOP 021 ADJCALLSTACKDOWN 0, 0, implicit-def dead $scc, implicit-def $sgpr32, implicit $sgpr3222 S_ENDPGM 023 24...25