[all-commits] [llvm/llvm-project] c6d8b5: [profi][NFC] Refactor SampleProfileInference::init...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Jun 9 12:41:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6d8b51ba5da7530332815a545c72ebd54fca7f6
      https://github.com/llvm/llvm-project/commit/c6d8b51ba5da7530332815a545c72ebd54fca7f6
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SampleProfileInference.h

  Log Message:
  -----------
  [profi][NFC] Refactor SampleProfileInference::initFunction

Initialize and return `FlowFunction` from initFunction->createFlowFunction.
Aligns the interface to `createFlowFunction` in D144500, intent to reuse
in a follow-up.

Reviewed By: spupyrev

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




More information about the All-commits mailing list