[all-commits] [llvm/llvm-project] f7f744: [CodeGen] Separate MachineFunctionSplitter logic f...

Han Shen via All-commits all-commits at lists.llvm.org
Tue Jul 18 11:29:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7f744a522927b6300b346dba8f453bdb913236c
      https://github.com/llvm/llvm-project/commit/f7f744a522927b6300b346dba8f453bdb913236c
  Author: Han Shen <shenhan at google.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/lib/CodeGen/MachineFunctionSplitter.cpp

  Log Message:
  -----------
  [CodeGen] Separate MachineFunctionSplitter logic for different profile types.

In 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.

Reviewed By: xur, wenlei

Differential Revision: https://reviews.llvm.org/D155253




More information about the All-commits mailing list