This is an archive of the discontinued LLVM Phabricator instance.

[CGProfile] Don't emit call graph profile edges with zero weight
ClosedPublic

Authored by lgrey on Oct 27 2021, 12:55 PM.

Details

Summary

With D112160 and D112164, on a Chrome Mac build this reduces the total size of CGProfile sections by 78% (around 25% eliminated entirely) and total size of object files by 0.14%.

Diff Detail

Event Timeline

lgrey created this revision.Oct 27 2021, 12:55 PM
lgrey requested review of this revision.Oct 27 2021, 12:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2021, 12:55 PM
Bigcheese accepted this revision.Oct 27 2021, 2:56 PM

Looks reasonable. Edges with weight 0 shouldn't matter anyway.

This revision is now accepted and ready to land.Oct 27 2021, 2:56 PM
This revision was landed with ongoing or failed builds.Oct 28 2021, 8:33 AM
This revision was automatically updated to reflect the committed changes.