[PATCH] D89502: AMDGPU: Don't kill super-register with overlapping copy

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 15:07:04 PDT 2020


arsenm created this revision.
arsenm added reviewers: rampitec, critson, tpr, scott.linder, kerbowa.
Herald added subscribers: hiraditya, t-tye, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

This would end up killing part of the result super-register, resulting
in a verifier error on a later use of the overlapping registers.  We
could add kills of any non-aliasing registers, but we should be moving
away from relying on kill flags.


https://reviews.llvm.org/D89502

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
  llvm/test/CodeGen/AMDGPU/copy-overlap-vgpr-kill.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89502.298483.patch
Type: text/x-patch
Size: 11287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/97dfee94/attachment.bin>


More information about the llvm-commits mailing list