This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Add icp-inline option
ClosedPublic

Authored by Amir on May 3 2022, 7:18 PM.

Details

Summary

Add an option to only peel ICP targets that can be subsequently inlined.
Yet there's no guarantee that they will be inlined.

The mode is independent from the heuristic used to choose ICP targets: by exec
count, mispredictions, or memory profile.

Diff Detail

Event Timeline

Amir created this revision.May 3 2022, 7:18 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir requested review of this revision.May 3 2022, 7:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2022, 7:18 PM
Amir retitled this revision from [BOLT] Add icp-inline mode to [BOLT] Add icp-inline option.May 3 2022, 7:40 PM
rafauler accepted this revision.May 4 2022, 1:50 PM

LGTM

This revision is now accepted and ready to land.May 4 2022, 1:50 PM
This revision was automatically updated to reflect the committed changes.