[PATCH] D155253: [CodeGen] Separate MachineFunctionSplitter logic for different profile types

Han Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 17:31:59 PDT 2023


shenhan created this revision.
shenhan added reviewers: xur, wenlei.
Herald added subscribers: wlei, hiraditya.
Herald added a project: All.
shenhan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In D152577 <https://reviews.llvm.org/D152577> @xur has a post-submit comment regarding to an awkward usage of MFS for Autofdo - instead of just using -fsplit-machine-function, the user needs to add "-mllvm -mfs-psi-cutoff=0" to choose the right logic for AutoFDO. The compiler should choose the right default values for such case.

This CL separate MFS logic for different profile types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155253

Files:
  llvm/include/llvm/Analysis/ProfileSummaryInfo.h
  llvm/lib/CodeGen/MachineFunctionSplitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155253.540236.patch
Type: text/x-patch
Size: 5141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230714/8d90ce4f/attachment.bin>


More information about the llvm-commits mailing list