[all-commits] [llvm/llvm-project] 446e21: [llvm-profgen] Use context-sensitive byte size cos...
WenleiHe via All-commits
all-commits at lists.llvm.org
Thu Sep 16 10:38:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 446e21623c285f335714297aa14f13c21b298931
https://github.com/llvm/llvm-project/commit/446e21623c285f335714297aa14f13c21b298931
Author: Wenlei He <aktoon at gmail.com>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M llvm/test/tools/llvm-profgen/cs-preinline-cost.test
M llvm/tools/llvm-profgen/CSPreInliner.cpp
Log Message:
-----------
[llvm-profgen] Use context-sensitive byte size cost for preinliner decisions by default
Turn on `use-context-cost-for-preinliner` to use context-sensitive byte size cost for preinliner decisions by default.
This is a more accurate proxy of inline cost than profile size. We tested on our large workload that it delivers measureable CPU improvement.
Differential Revision: https://reviews.llvm.org/D109893
More information about the All-commits
mailing list