[llvm] [CodeGen][StaticDataPartitioning]Place local-linkage global variables in hot or unlikely prefixed sections based on profile information (PR #125756)

David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 27 12:18:07 PDT 2025


================
@@ -0,0 +1,68 @@
+#ifndef LLVM_ANALYSIS_STATICDATAPROFILEINFO_H
----------------
david-xl wrote:

It is reasonable to put this definition into ProfileSummaryInfo.h, as it is about summary/aggregation of  const profiles.

https://github.com/llvm/llvm-project/pull/125756


More information about the llvm-commits mailing list