[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 14:51:06 PDT 2022


luna created this revision.
Herald added subscribers: ormris, wenlei, hiraditya.
Herald added a project: All.
luna added reviewers: xur, kazu.
luna added a subscriber: davidxl.
luna published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

When --disable-sample-loader-inlining is true, skip inline transformation, but merge profiles of inlined instances to outlining versions.


Repository:
  rG LLVM Github Monorepo

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.415992.patch
Type: text/x-patch
Size: 5002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220316/aa792a32/attachment.bin>


More information about the llvm-commits mailing list