[llvm] [AMDGPU] Add intrinsic exposing s_alloc_vgpr (PR #163951)

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 01:57:19 PDT 2025


================
@@ -391,6 +391,17 @@ def int_amdgcn_s_wait_loadcnt        : AMDGPUWaitIntrinsic;
 def int_amdgcn_s_wait_samplecnt      : AMDGPUWaitIntrinsic;
 def int_amdgcn_s_wait_storecnt       : AMDGPUWaitIntrinsic;
 
+// Force the VGPR allocation of the current wave to (at least) the given value.
----------------
rovka wrote:

Right, that wasn't clear. I hope it's better now.

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


More information about the llvm-commits mailing list