This is an archive of the discontinued LLVM Phabricator instance.

[RegAllocFast] Use uint16_t SparseT for LiveRegMap
ClosedPublic

Authored by aengelke on Apr 27 2023, 2:58 AM.

Details

Summary

For functions with very large numbers of live variables, lookups into
LiveRegMap previously detoriated to linear searches.

This slightly increases memory usage, but that is barely measurable.

Diff Detail

Event Timeline

aengelke created this revision.Apr 27 2023, 2:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2023, 2:58 AM
aengelke requested review of this revision.Apr 27 2023, 2:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2023, 2:58 AM
arsenm accepted this revision.Apr 27 2023, 6:41 AM
This revision is now accepted and ready to land.Apr 27 2023, 6:41 AM
This revision was landed with ongoing or failed builds.Apr 27 2023, 9:59 AM
This revision was automatically updated to reflect the committed changes.