This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Simplify MCPlusBuilder::getRegSize
ClosedPublic

Authored by Amir on Mar 10 2023, 1:41 PM.

Details

Reviewers
rafauler
maksfb
Group Reviewers
Restricted Project
Commits
rGce1061074dac: [BOLT][NFC] Simplify MCPlusBuilder::getRegSize
Summary

Pre-calculate the register size table in MCPlusBuilder constructor,
similar to AliasMap/SmallerAliasMap in initAliases.

Diff Detail

Event Timeline

Amir created this revision.Mar 10 2023, 1:41 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Mar 10 2023, 1:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2023, 1:41 PM
Amir updated this revision to Diff 504282.Mar 10 2023, 2:27 PM

clang-format

This revision is now accepted and ready to land.Mar 14 2023, 2:41 PM
This revision was automatically updated to reflect the committed changes.