[Sample Profile] Check hot callsite threshold when inlining a function with a...
[Sample Profile] Check hot callsite threshold when inlining a function with a sample profile (#93286) Currently if a callsite is hot as determined by the sample profile, it is unconditionally inlined barring invalid cases (such as recursion). Inline cost check should still apply because a function's hotness and its inline cost are two different things. For example if a function is calling another very large function multiple times (at different code paths), the large function should not be inlined even if its hot.
parent
193e9007
Please register or sign in to comment