[all-commits] [llvm/llvm-project] 1cec6b: [StaticDataLayout] Reconcile data hotness based on...

Mingming Liu via All-commits all-commits at lists.llvm.org
Wed Oct 15 10:24:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cec6be8d6783d94f7e70ea157ecc0563cf11ee8
      https://github.com/llvm/llvm-project/commit/1cec6be8d6783d94f7e70ea157ecc0563cf11ee8
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/StaticDataProfileInfo.h
    M llvm/lib/Analysis/StaticDataProfileInfo.cpp
    M llvm/test/CodeGen/X86/global-variable-partition-with-dap.ll

  Log Message:
  -----------
  [StaticDataLayout] Reconcile data hotness based on PGO counters and data access profiles (#163325)

This PR enhances the `StaticDataProfileInfo::getConstantSectionPrefix`
pass to reconcile data hotness information from both PGO counters and
data access profiles. When both profiles are available for a global
variable, the pass will now use the "hotter" of the two to determine the
variable's section placement.

This is a follow-up patch of
https://github.com/llvm/llvm-project/pull/162388



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list