[all-commits] [llvm/llvm-project] 5cbcaf: [CSSPGO][Preinliner] Bump up the threshold to favo...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Mon Jun 26 17:21:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5cbcaf1678709e4da8b32f075a5c9a3cab028965
https://github.com/llvm/llvm-project/commit/5cbcaf1678709e4da8b32f075a5c9a3cab028965
Author: Hongtao Yu <hoy at fb.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M llvm/tools/llvm-profgen/CSPreInliner.cpp
Log Message:
-----------
[CSSPGO][Preinliner] Bump up the threshold to favor previous compiler inline decision.
The compiler has more insight and knowledge about functions based on their IR and attribures and should make a better inline decision than the offline preinliner does which is purely based on callsites hotness and code size. Therefore I'm making changes to favor previous compiler inline decision by bumping up the callsite allowance.
This should improve the performance by more than 1% according to testing on Meta services.
Reviewed By: wenlei
Differential Revision: https://reviews.llvm.org/D153797
More information about the All-commits
mailing list