[PATCH] D53534: [hot-cold-split] Name split functions with ".cold" suffix

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 13:11:00 PDT 2018


tejohnson added a subscriber: vsk.
tejohnson added a comment.

In https://reviews.llvm.org/D53534#1273164, @xbolva00 wrote:

> Does the pass groups hot code together? is it in your plans?


@sebpop, @vsk or @hiraditya can probably answer this. I'm not working on the core hot cold splitting algorithm, just some issues I'm finding as I try it. But presumably the linker should be grouping the split hot functions together and the split cold functions together, when building with -ffunction-sections and PGO which should put them in the .text.hot and .text.unlikely sections, respectively.


Repository:
  rL LLVM

https://reviews.llvm.org/D53534





More information about the llvm-commits mailing list