[llvm-branch-commits] [lld] [llvm] [RFC][AMDGPU][lld] Add object linking support (PR #206787)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 1 00:26:10 PDT 2026


arsenm wrote:

> The linker's job is symbol resolution, layout, and relocation. "Compute each kernel's transitive VGPR/SGPR/LDS/scratch and re-encode compute_pgm_rsrc*" is codegen finalization, not linking. This makes midend/backend passes inside the ELF kinker - wrong layer.

The resource usage needs to be link time resolved. It needs to add in any possible callees known only during linking 

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


More information about the llvm-branch-commits mailing list