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
5 # CHECK-INTERESTINGNESS: S_NOP 0
7 # RESULT: ADJCALLSTACKUP
8 # RESULT-NEXT: ADJCALLSTACKDOWN
9 # RESULT-NEXT: S_ENDPGM 0
12 name: frame_setup_destroy
13 tracksRegLiveness: true
15 stackPtrOffsetReg: '$sgpr32'
19 ADJCALLSTACKUP 0, 0, implicit-def dead $scc, implicit-def $sgpr32, implicit $sgpr32
21 ADJCALLSTACKDOWN 0, 0, implicit-def dead $scc, implicit-def $sgpr32, implicit $sgpr32