llvm-project
1cec6be8 - [StaticDataLayout] Reconcile data hotness based on PGO counters and data access profiles (#163325)

Commit
144 days ago
[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
Parents
Loading