This is an archive of the discontinued LLVM Phabricator instance.

[Inline][PGO] Skip block-frequency weighted simplified instructions in the callee when computing cycle savings
AbandonedPublic

Authored by mingmingl on Jun 2 2023, 7:16 PM.

Details

Reviewers
kazu
davidxl
Summary

Tested on an internal workload. Didn't see regressions. Got reduced '.text.hot' and a small improvements (still verifying using different versions of code)

Diff Detail

Event Timeline

mingmingl created this revision.Jun 2 2023, 7:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2023, 7:16 PM
mingmingl requested review of this revision.Jun 2 2023, 7:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2023, 7:16 PM
mingmingl edited the summary of this revision. (Show Details)Jun 2 2023, 7:23 PM
mingmingl added reviewers: kazu, davidxl.
mingmingl abandoned this revision.Jun 2 2023, 8:43 PM

hmm the evaluation of simplified values indeed look at caller information so this sounds reasonable then. Sorry about the noise!