1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -o - %s -mtriple=amdgcn -mcpu=gfx1010 -run-pass=machine-cp -verify-machineinstrs | FileCheck %s
5 name: undef_copy_propagation
6 tracksRegLiveness: true
10 ; CHECK-LABEL: name: undef_copy_propagation
11 ; CHECK: renamable $vgpr0 = COPY undef renamable $sgpr42, implicit $exec
12 ; CHECK-NEXT: renamable $vgpr1 = COPY undef $sgpr42
13 ; CHECK-NEXT: renamable $vgpr2 = COPY undef $sgpr42
14 ; CHECK-NEXT: renamable $vgpr3 = COPY undef $sgpr42
15 ; CHECK-NEXT: EXP_DONE 0, killed $vgpr0, killed $vgpr1, killed $vgpr2, killed $vgpr3, -1, -1, 15, implicit $exec
16 renamable $vgpr0 = COPY undef renamable $sgpr42, implicit $exec
17 renamable $vgpr1 = COPY renamable $vgpr0
18 renamable $vgpr2 = COPY renamable $vgpr0
19 renamable $vgpr3 = COPY renamable $vgpr0
21 EXP_DONE 0, killed $vgpr0, killed $vgpr1, killed $vgpr2, killed $vgpr3, -1, -1, 15, implicit $exec