[PATCH] D121862: [ProfSampleLoader] When disable-sample-loader-inlining is true, merge profiles of inlined instances to outlining versions.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 23:53:37 PDT 2022


luna updated this revision to Diff 416075.
luna added a comment.

For inlineHotFunctionsWithPriority, do not add functions to `LocalNotInlinedCallSites` if ContextTracker is valid (not nullptr).

This keeps the original semantic that `LocalNotInlinedCallSites` is empty, when ContextTracker is not nullptr.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121862/new/

https://reviews.llvm.org/D121862

Files:
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/test/Transforms/SampleProfile/inline-mergeprof.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121862.416075.patch
Type: text/x-patch
Size: 5747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220317/81aeb824/attachment-0001.bin>


More information about the llvm-commits mailing list