This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][DWARF] Fix performance regression running BOLT on binaries build with DWARF4
ClosedPublic

Authored by ayermolo on Jul 19 2023, 4:32 PM.

Details

Summary

In one of the previous diffs LocBuffer was changed to pass by value. This lead to
performance regression running BOLT on binaries with DWARF4 split dwarf.

Diff Detail

Event Timeline

ayermolo created this revision.Jul 19 2023, 4:32 PM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
ayermolo requested review of this revision.Jul 19 2023, 4:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2023, 4:32 PM

Looks good, but please rephrase the summary as it's unclear what "this was changed to pass by value" means when one is not looking at the code. Since it's a performance fix, remove "NFC" from the title.

ayermolo retitled this revision from [BOLT][DWARF][NFC] Fix performance regression to [BOLT][DWARF] Fix performance regression for binaries build with DWARF4 split-dwarf.Jul 19 2023, 4:59 PM
ayermolo edited the summary of this revision. (Show Details)
ayermolo retitled this revision from [BOLT][DWARF] Fix performance regression for binaries build with DWARF4 split-dwarf to This lead to performance regression in running BOLT on for binaries with DWARF4 split dwarf..Jul 19 2023, 5:29 PM
ayermolo retitled this revision from This lead to performance regression in running BOLT on for binaries with DWARF4 split dwarf. to [BOLT][DWARF] Fix performance regression running BOLT on binaries build with DWARF4.
ayermolo edited the summary of this revision. (Show Details)
maksfb accepted this revision.Jul 20 2023, 9:17 AM
This revision is now accepted and ready to land.Jul 20 2023, 9:17 AM