1 # RUN: llc -mtriple=amdgcn -mcpu=gfx90a -run-pass=machine-cp -verify-machineinstrs -o - %s | FileCheck --check-prefix=GCN %s
3 # GCN-LABEL: name: mcp_aligned_vgprs
4 # GCN: $vgpr0_vgpr1 = V_PK_MUL_F32 0, $sgpr0_sgpr1
5 # GCN: $vgpr3_vgpr4 = COPY killed renamable $vgpr0_vgpr1
7 name: mcp_aligned_vgprs
11 renamable $vgpr0_vgpr1 = V_PK_MUL_F32 0, $sgpr0_sgpr1, 0, 0, 0, 0, 0, 0, 0, implicit $mode, implicit $exec
12 renamable $vgpr3_vgpr4 = COPY killed renamable $vgpr0_vgpr1
13 S_ENDPGM 0, implicit $vgpr3_vgpr4
16 # GCN-LABEL: name: mcp_aligned_agprs
17 # GCN: $agpr0_agpr1 = GLOBAL_LOAD_DWORDX2_SADDR $sgpr0_sgpr1, $vgpr10
18 # GCN: $agpr3_agpr4 = COPY killed renamable $agpr0_agpr1
20 name: mcp_aligned_agprs
24 renamable $agpr0_agpr1 = GLOBAL_LOAD_DWORDX2_SADDR $sgpr0_sgpr1, $vgpr10, 0, 0, implicit $exec
25 renamable $agpr3_agpr4 = COPY killed renamable $agpr0_agpr1
26 S_ENDPGM 0, implicit $agpr3_agpr4