This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Simplify SIRegisterInfo::getRegSplitParts
ClosedPublic

Authored by foad on Apr 17 2020, 2:46 AM.

Details

Summary

Use more logic and fewer tables. This reduces the line count and
reduces the effort required to introduce more register classes of
different sizes in future.

Diff Detail

Event Timeline

foad created this revision.Apr 17 2020, 2:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 17 2020, 2:46 AM
arsenm accepted this revision.Apr 17 2020, 6:26 AM
This revision is now accepted and ready to land.Apr 17 2020, 6:26 AM
This revision was automatically updated to reflect the committed changes.