This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix kill flag on overlapping sgpr copy
ClosedPublic

Authored by sebastian-ne on Feb 17 2022, 4:36 AM.

Details

Summary

Same as on vgpr copies, we cannot kill the source register if it
overlaps with the destination register. Otherwise, the kill of the
source register will also count as a kill for the destination register.

Diff Detail

Event Timeline

sebastian-ne created this revision.Feb 17 2022, 4:36 AM
sebastian-ne requested review of this revision.Feb 17 2022, 4:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2022, 4:36 AM
foad accepted this revision.Feb 17 2022, 5:28 AM

LGTM, thanks!

This revision is now accepted and ready to land.Feb 17 2022, 5:28 AM
This revision was landed with ongoing or failed builds.Feb 18 2022, 5:36 AM
This revision was automatically updated to reflect the committed changes.