1 # RUN: llc -march=amdgcn -mcpu=gfx908 -start-before postrapseudos -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
3 # GCN-LABEL: {{^}}lo_to_lo_agpr_to_agpr:
4 # GCN: v_accvgpr_read_b32 [[TMP:v[0-9]+]], a0
6 # GCN-NEXT: v_accvgpr_write_b32 a1, [[TMP]]
7 name: lo_to_lo_agpr_to_agpr
8 tracksRegLiveness: true
12 $agpr1_lo16 = COPY $agpr0_lo16
16 # GCN-LABEL: {{^}}lo_to_lo_samereg:
19 name: lo_to_lo_samereg
20 tracksRegLiveness: true
24 $agpr0_lo16 = COPY $agpr0_lo16
28 # GCN-LABEL: {{^}}lo_to_lo_undef_agpr_to_agpr:
29 # GCN: v_accvgpr_read_b32 [[TMP:v[0-9]+]], a1
31 # GCN-NEXT: v_accvgpr_write_b32 a2, [[TMP]]
32 name: lo_to_lo_undef_agpr_to_agpr
33 tracksRegLiveness: true
36 $agpr1_lo16 = COPY undef $agpr0_lo16
37 $agpr2 = COPY killed $agpr1
41 # GCN-LABEL: {{^}}lo_to_lo_sgpr_to_agpr:
42 # GCN: v_mov_b32_e32 [[TMP:v[0-9]+]], s0
44 # GCN-NEXT: v_accvgpr_write_b32 a1, [[TMP]]
45 name: lo_to_lo_sgpr_to_agpr
46 tracksRegLiveness: true
50 $agpr1_lo16 = COPY $sgpr0_lo16