[all-commits] [llvm/llvm-project] 4bdc93: [CSSPGO][Preinliner] Always inline zero-sized func...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Tue Jun 27 17:12:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4bdc938ce3f0bc7721d1942b23cd49734121094a
https://github.com/llvm/llvm-project/commit/4bdc938ce3f0bc7721d1942b23cd49734121094a
Author: Hongtao Yu <hoy at fb.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M llvm/tools/llvm-profgen/CSPreInliner.h
Log Message:
-----------
[CSSPGO][Preinliner] Always inline zero-sized functions.
Zero-sized functions should be cost-free in term of size budget, so they should be considered during inlining even if we run out of size budget.
This appears to give 0.5% win for one of our internal services.
Reviewed By: wenlei
Differential Revision: https://reviews.llvm.org/D153820
More information about the All-commits
mailing list