This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Remove selectSGPRVectorRegClassID. NFC.
ClosedPublic

Authored by foad on Apr 21 2020, 5:37 AM.

Details

Summary

This was yet another function that had to be updated whenever you added
a new register class. Remove it by refactoring its only caller to use
standard helper functions from SIRegisterInfo.

Diff Detail

Event Timeline

foad created this revision.Apr 21 2020, 5:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2020, 5:37 AM
arsenm accepted this revision.Apr 21 2020, 7:24 AM
This revision is now accepted and ready to land.Apr 21 2020, 7:24 AM
This revision was automatically updated to reflect the committed changes.