Skip to content

Commit 02a0b11

Browse files
committed
AMDGPU: Remove weird usage of implicit operand on COPY
For the purpose of the test it works as well to have a use after the copy itself.
1 parent 0aa439d commit 02a0b11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/AMDGPU/coalescer-remat-dead-use.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,6 @@ body: |
9393
%0:vgpr_32 = COPY $vgpr0
9494
%1:vgpr_32 = V_ADD_U32_e32 1, %0, implicit $exec
9595
%2:vgpr_32 = V_MOV_B32_e32 %1, implicit $exec
96-
$vgpr0 = COPY killed %2, implicit %1
97-
SI_RETURN_TO_EPILOG killed $vgpr0
96+
$vgpr0 = COPY killed %2
97+
SI_RETURN_TO_EPILOG killed $vgpr0, implicit %1
9898
...

0 commit comments

Comments
 (0)