[AMDGPU] Mark AGPR tuple implicit in the first instr of AGPR spills. (#115285)
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / waitcnt-permute.mir
blob2f453c6156b2eb064895cc5d6bf22aaf65e554c9
1 # RUN: llc -mtriple=amdgcn -mcpu=fiji -verify-machineinstrs -run-pass si-insert-waitcnts -o - %s | FileCheck %s
3 ...
4 # CHECK-LABEL: name: waitcnt-permute{{$}}
5 # CHECK: DS_BPERMUTE_B32
6 # CHECK-NEXT: S_WAITCNT 127
8 name:            waitcnt-permute
9 liveins:
10   - { reg: '$vgpr0' }
11   - { reg: '$vgpr1' }
12   - { reg: '$sgpr30_sgpr31' }
13 body:             |
14   bb.0:
15     liveins: $vgpr0, $vgpr1, $sgpr30_sgpr31
17     $vgpr0 = DS_BPERMUTE_B32 killed $vgpr0, killed $vgpr1, 0, implicit $exec
18     $vgpr0 = V_ADD_F32_e32 1065353216, killed $vgpr0, implicit $mode, implicit $exec
19     S_SETPC_B64_return killed $sgpr30_sgpr31, implicit killed $vgpr0
21 ...