This is an archive of the discontinued LLVM Phabricator instance.

[MC][PGO][PGSO] Cleanup unused MBFI in AsmPrinter
ClosedPublic

Authored by apazos on Apr 20 2020, 5:36 PM.

Details

Summary

Machine Block Frequency Info (MBFI) is being computed but unused in AsmPrinter.

MBFI computation was introduced with PGO change D71149 and then its use was
removed in D71106. No need to keep computing it.

Diff Detail

Event Timeline

apazos created this revision.Apr 20 2020, 5:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2020, 5:36 PM
MaskRay accepted this revision.Apr 20 2020, 6:08 PM

Looks great!

This revision is now accepted and ready to land.Apr 20 2020, 6:08 PM
skan accepted this revision.Apr 20 2020, 6:47 PM

LGTM

hjyamauchi accepted this revision.Apr 21 2020, 8:42 AM
This revision was automatically updated to reflect the committed changes.