• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llc -o -  -march=amdgcn  -run-pass mir-canonicalizer  -x mir %s | FileCheck %s
2
3# CHECK: %namedVReg1352:vgpr_32 = COPY %namedVReg4353
4# CHECK: %namedVReg1359:vgpr_32 = COPY %namedVReg1362
5# CHECK: %namedVReg1360:vgpr_32 = COPY %namedVReg1363
6...
7---
8name: foo
9body:             |
10  bb.0:
11    %10:sreg_32_xm0 = S_MOV_B32 61440
12    %11:sreg_32_xm0 = S_MOV_B32 0
13    %3:vgpr_32 = COPY $vgpr0
14
15    %vreg123_0:vgpr_32 = COPY %3
16    %0:sgpr_64 = COPY $sgpr0_sgpr1
17    %vreg123_1:vgpr_32 = COPY %11
18    %27:vreg_64 = REG_SEQUENCE %vreg123_0, %subreg.sub0, %vreg123_1, %subreg.sub1
19    %4:sreg_64_xexec = S_LOAD_DWORDX2_IMM %0, 9, 0
20    %vreg123_2:vgpr_32 = COPY %4
21    %5:sreg_64_xexec = S_LOAD_DWORDX2_IMM %0, 11, 0
22    %vreg123_3:vgpr_32 = COPY %5
23    %16:sgpr_128 = REG_SEQUENCE killed %vreg123_0, %subreg.sub0, %vreg123_1, %subreg.sub1, %vreg123_2, %subreg.sub2, %vreg123_3, %subreg.sub3
24
25    BUFFER_STORE_DWORD_ADDR64 %vreg123_1, %27, killed %16, 0, 0, 0, 0, 0, implicit $exec
26    S_ENDPGM
27
28...
29