[llvm] [AMDGPU] Report only local per-function resource usage when object linking is enabled (PR #192594)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 09:08:04 PDT 2026


shiltian wrote:

This PR is separated from https://github.com/llvm/llvm-project/pull/192384, since it is independent from that. I have some ideas that we might just want to use these MC symbols for resource usage propagation in the linker, such that the `.amdgpu.info` introduced in https://github.com/llvm/llvm-project/pull/192384 will not contain this redundant information.

Even if we don't want to emit these symbols in the future, not defining them would be a separate PR. The whole purpose of this PR is to stop propagation if object linking is enabled.

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


More information about the llvm-commits mailing list