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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to