[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
Tue Mar 22 09:50:22 PDT 2022


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

1. Move `DisableSampleLoaderInlining` into {tryPromoteAndInlineCandidate,tryInlineCandidate} as suggested.

2. Update option description of --disable-sample-loader-inlining.


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.417326.patch
Type: text/x-patch
Size: 6949 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220322/cf91be64/attachment.bin>


More information about the llvm-commits mailing list