[all-commits] [llvm/llvm-project] 7d2937: [CSSPGO][Preinliner] Set default value of sample-p...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Wed Jun 8 12:10:27 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d293744a89a21759744c147159343046b8bd924
https://github.com/llvm/llvm-project/commit/7d293744a89a21759744c147159343046b8bd924
Author: Hongtao Yu <hoy at fb.com>
Date: 2022-06-08 (Wed, 08 Jun 2022)
Changed paths:
M llvm/tools/llvm-profgen/CSPreInliner.cpp
Log Message:
-----------
[CSSPGO][Preinliner] Set default value of sample-profile-inline-limit-max to 3000
The default value of sample-profile-inline-limit-max is defined as 10000 in sampleprofile.cpp. This is too big for cspreinliner which works with assembly size instead of IR size. The value 3000 turns out to be a good tradeoff. Compared to the value 10000, 3000 gives as good performance and code size, but lower build time.
Reviewed By: wenlei, wlei
Differential Revision: https://reviews.llvm.org/D127330
More information about the All-commits
mailing list