This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Use SDWA for 16 bit subreg copy
ClosedPublic

Authored by rampitec on Apr 14 2020, 1:42 PM.

Details

Summary

This simplifies the logic and allows to use it on GFX8.

Diff Detail

Event Timeline

rampitec created this revision.Apr 14 2020, 1:42 PM
rampitec planned changes to this revision.Apr 14 2020, 2:02 PM

I have realized we still need to model it to protect from post-RA scheduler. I will add imp-use.

rampitec updated this revision to Diff 257502.Apr 14 2020, 2:38 PM
rampitec edited the summary of this revision. (Show Details)

Added tied operand.

rampitec updated this revision to Diff 257888.Apr 15 2020, 4:20 PM

Dropped source kill flag since we are extending source operand.

arsenm accepted this revision.Apr 17 2020, 9:22 AM
This revision is now accepted and ready to land.Apr 17 2020, 9:22 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 17 2020, 11:54 AM