This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Introduce SplitStrategy ABC
ClosedPublic

Authored by FPar on Aug 17 2022, 11:31 AM.

Details

Summary

This introduces an abstract base class for splitting strategies to
document the interface a strategy needs to implement, and also to avoid
code bloat of the splitFunction method.

Diff Detail

Event Timeline

FPar created this revision.Aug 17 2022, 11:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2022, 11:31 AM
Herald added a subscriber: ayermolo. · View Herald Transcript
FPar requested review of this revision.Aug 17 2022, 11:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2022, 11:31 AM
FPar updated this revision to Diff 454657.Aug 22 2022, 5:13 PM

Move earlier in stack

maksfb accepted this revision.Sep 8 2022, 1:57 PM

Looks good to me. Please fix grammar in "Summary" before committing.

This revision is now accepted and ready to land.Sep 8 2022, 1:57 PM
FPar edited the summary of this revision. (Show Details)Sep 8 2022, 2:01 PM

Thanks for pointing that out. That was a rough one.

This revision was automatically updated to reflect the committed changes.