This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] fix copies between 32 and 16 bit
ClosedPublic

Authored by rampitec on Apr 29 2020, 1:08 PM.

Details

Summary

This a hack to fix illegal 32 to 16 bit copies.
The problem is when we make 16 bit subregs legal it creates
a huge amount of failures which can only be resolved at once
without a temporary hack like this.

The next step is to change operands, instruction definitions
and patterns until this hack is not needed.

Diff Detail

Event Timeline

rampitec created this revision.Apr 29 2020, 1:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2020, 1:08 PM
arsenm accepted this revision.May 1 2020, 12:08 PM

This is pretty gross but it will take a while to fix all the tablegen patterns

This revision is now accepted and ready to land.May 1 2020, 12:08 PM
This revision was automatically updated to reflect the committed changes.