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

Shilei Tian via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 17 07:34:28 PDT 2026


shiltian wrote:

> Are the symbols something you actively use in obj linking? Am I interpreting it correctly that is is just a change that elides the propagation through symbols?

I thought about that. They are not really actively used by the linker, but they might be used by kernel descriptor.

I also considered deferring KD emission to the linker, but apparently KD has more fields that the linker can't really fill in, so we have to emit it here and then patch things up.

However, we might be able to emit some placeholder here for those fields that will be patched by the linker at link time. WDYT?

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


More information about the llvm-branch-commits mailing list