1# RUN: llc -march=amdgcn -mcpu=gfx1010 -start-before=greedy -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
2...
3# GCN-LABEL: {{^}}"subvector-basic-bb"
4# GCN: s_subvector_loop_begin [[RS:s[0-9]]], BB0_2
5# GCN: s_subvector_loop_end [[RS]], BB0_1
6name:            subvector-basic-bb
7tracksRegLiveness: true
8machineFunctionInfo:
9  scratchRSrcReg: $sgpr0_sgpr1_sgpr2_sgpr3
10  frameOffsetReg: $sgpr5
11  stackPtrOffsetReg: $sgpr32
12body:             |
13  bb.0:
14    liveins: $sgpr0_sgpr1
15    successors: %bb.1, %bb.2
16
17    %1:sgpr_64 = COPY $sgpr0_sgpr1
18    %4:sgpr_128 = S_LOAD_DWORDX4_IMM %1, 36, 0, 0
19    %11:sreg_64_xexec = S_LOAD_DWORDX2_IMM %4.sub2_sub3, 0, 0, 0
20    undef %15.sub0:vreg_64 = COPY %4.sub0
21    %15.sub1:vreg_64 = COPY %4.sub1
22    %16:vgpr_32 = COPY %1.sub0
23    S_SUBVECTOR_LOOP_BEGIN %bb.2, undef %19:sreg_32, implicit-def $exec, implicit $exec, implicit-def %19
24
25  bb.1:
26    successors: %bb.1, %bb.2
27
28    %14:sreg_32_xm0 = S_ADD_I32 %11.sub0, %11.sub1, implicit-def dead $scc
29    %16:vgpr_32 = COPY %14
30    S_SUBVECTOR_LOOP_END %bb.1, %19:sreg_32, implicit-def $exec, implicit $exec, implicit-def %19
31
32  bb.2:
33
34    GLOBAL_STORE_DWORD %15, %16, 0, 0, 0, 0, implicit $exec
35    S_ENDPGM 0
36...
37