[llvm] [Inline] Accumulate the cost of the inlined function to the new callsite (PR #111104)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 19 03:10:56 PST 2026
nikic wrote:
Unfortunately, it looks like this patch is insufficient to fix https://github.com/llvm/llvm-project/issues/181821. It works neither for the reduced nor the full test case.
Here are some numbers on the resulting file size after running `opt -S -O3 main.ll`:
No patch: 9.5M
`/ 16`: 9.5M
`/ 8`: 5.0M
`/ 4`: 834K
`/ 2`: 279K
https://github.com/llvm/llvm-project/pull/181827: 25K
https://github.com/llvm/llvm-project/pull/111104
More information about the llvm-commits
mailing list