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.
Paths
| Differential D124900
[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. The mode is independent from the heuristic used to choose ICP targets: by exec
Diff Detail
Event TimelineAmir added a parent revision: D124899: [BOLT][NFC] Move getInliningInfo out of Inliner class.May 3 2022, 7:21 PM Amir retitled this revision from [BOLT] Add icp-inline mode to [BOLT] Add icp-inline option.May 3 2022, 7:40 PM This revision is now accepted and ready to land.May 4 2022, 1:50 PM Closed by commit rGc2d40f1dfb64: [BOLT] Add icp-inline option (authored by Amir). · Explain WhyMay 11 2022, 3:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 428609 bolt/lib/Passes/IndirectCallPromotion.cpp
|