[llvm] [SPIRV] Implement LLVM IR and backend for typed buffer counters (PR #161425)

Marcos Maronas via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 06:31:56 PDT 2025


================
@@ -3441,6 +3447,10 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
   case Intrinsic::spv_resource_handlefrombinding: {
     return selectHandleFromBinding(ResVReg, ResType, I);
   }
+  case Intrinsic::spv_resource_counterhandlefrombinding:
----------------
maarquitos14 wrote:

What about `spv_resource_counterhandlefromimplicitbinding`? I'm a bit confused because I don't see it here, but then in the test it's the one being used, while `spv_resource_counterhandlefrombinding` is here, but not in the test. Am I missing anything? 

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


More information about the llvm-commits mailing list