[llvm] [AMDGPU][MC] update USER_SGPR_COUNT bits for GFX1250 (PR #192579)

Zeng Wu via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 13:56:48 PDT 2026


zwu-2025 wrote:

> > the number of kernel arguments is larger than 32 and there is a error message
> 
> This should still be an error but probably not the current one. Do we have the check somewhere to gate it earlier?

The case here is that `inreg` for kernel arguments are only `hint`,  my understanding is that no matter how many `inreg` hints are, there will no over-use of SGPR, please correct me if i am wrong. The problem here is the mismatch of bits in asm-printer and asm-parser.

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


More information about the llvm-commits mailing list