Instead of directly using MaxFunctionCount and function entry count to determine callee hotness, use the isHotFunction/isColdFunction methods provided by ProfileSummaryInfo. NFC.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Strictly speaking, I don't think this is NFC (e.g. it required changing the tests). But it seems straightforward enough.
Comment Actions
Sorry, I meant it in the sense of it doesn't change the functionality of inliner.
David, IIRC patches need an explicit LGTM before submitting and accepting the patch in phabricator is not enough.