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

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 18:23:12 PST 2025


petrhosek wrote:

Is there a reason for using `.unlikely` as a prefix rather than `.cold`? `.cold` seems more obvious as an opposite of `.hot` and we use it elsewhere in LLVM, most notably hot-cold splitting.

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


More information about the llvm-commits mailing list