[PATCH] D152577: Part 2 of Fine tune MachineFunctionSplitPass (MFS) for FSAFDO.

Han Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 12:31:55 PDT 2023


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

This is a follow up to D152399 <https://reviews.llvm.org/D152399>.

This CL adds a new discriminator pass. Also adds a new sample profile pass when MFS is enabled.

Also includes tests for both FSAFDO-MFS and FSADO pass config.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152577

Files:
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/test/CodeGen/X86/Inputs/fsloader-mfs.afdo
  llvm/test/CodeGen/X86/load-sample-profile.ll
  llvm/test/CodeGen/X86/machine-function-splitter-fsafdo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152577.530050.patch
Type: text/x-patch
Size: 7253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/6355b007/attachment.bin>


More information about the llvm-commits mailing list