Files
clang-p2996/llvm/test/Transforms/SampleProfile/Inputs
William Junda Huang 5a23d31c50 [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.
2024-05-28 16:41:53 -04:00
..