[llvm] [ThinLTO] Add metedata 'thinlto_src_module' and 'thinlto_src_file' (PR #83110)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 18:43:56 PST 2024


lifengxiang1025 wrote:

> There are some uses of this metadata in llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp, do they or their tests need changing?

In ImportedFunctionsInliningStatistics.cpp, we only invoke `F.hasMetadata("thinlto_src_module")`(https://github.com/llvm/llvm-project/blob/main/llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp#L43
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp#L81). And I update some old testcases. So I think nothing need changing.


https://github.com/llvm/llvm-project/pull/83110


More information about the llvm-commits mailing list