• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llc -mtriple=amdgcn -mcpu=fiji -verify-machineinstrs -run-pass si-insert-waitcnts -o - %s | FileCheck %s
2
3...
4# CHECK-LABEL: name: waitcnt-permute{{$}}
5# CHECK: DS_BPERMUTE_B32
6# CHECK-NEXT: S_WAITCNT 127
7
8name:            waitcnt-permute
9liveins:
10  - { reg: '$vgpr0' }
11  - { reg: '$vgpr1' }
12  - { reg: '$sgpr30_sgpr31' }
13body:             |
14  bb.0:
15    liveins: $vgpr0, $vgpr1, $sgpr30_sgpr31
16
17    $vgpr0 = DS_BPERMUTE_B32 killed $vgpr0, killed $vgpr1, 0, implicit $exec
18    $vgpr0 = V_ADD_F32_e32 1065353216, killed $vgpr0, implicit $exec
19    S_SETPC_B64_return killed $sgpr30_sgpr31, implicit killed $vgpr0
20
21...
22