[clang] [llvm] [Clang][AMDGPU] Deprecate `amdgpu-num-vgpr` and `amdgpu-num-sgpr` (PR #193023)

Sebastian Neubauer via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 00:37:24 PST 2026


Flakebi wrote:

I don’t see any problems with deprecating or removing amdgpu-num-vgpr/sgpr for compute, so amdgpu_kernel and C calling conventions.
Currently we do need it for graphics though, specifically for functions with the amdgpu_cs_chain* calling conventions. I believe these calling conventions are not relevant for compute object linking (or compute in general).
Does that sound reasonable?

If this does not sound like a good way forward, I think we should meet up and talk about the dynamic VGPR implementation in graphics and how to best make it work with the backend.

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


More information about the cfe-commits mailing list