[PATCH] D122930: [Propeller] Promote functions with propeller profiles to .text.hot.
Han Shen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 12 11:50:13 PDT 2022
shenhan added a comment.
In D122930#3494676 <https://reviews.llvm.org/D122930#3494676>, @rahmanl wrote:
> In D122930#3492643 <https://reviews.llvm.org/D122930#3492643>, @shenhan wrote:
>
>> This looks good to me. One question, do we have a rough idea, what is the percentage of functions that pgo and propeller disagree about their hotness?
>
> Yes. For one example we have
> 31% of Propeller functions in .text.hot,
> 57% in .text
> 11% in .text.unlikely
Thanks.
> One questions is whether the promotion should be hidden behind a flag or not.
My thought is that this is a prerequisite for propeller inter-proc layout optimization, so if inter-proc layout optimization is on by default when -fbasic-block-sections=list=<...> is present, then this could also be on by default. On the other hand if we guard inter-proc layout optimization with a flag, then that flag could also cover this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122930/new/
https://reviews.llvm.org/D122930
More information about the llvm-commits
mailing list