[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 07:36:55 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:

That one is good enough for me, it's up to you if you want more specific diagnostics, although I think the generic error does mention the intrinsic that is unhandled.

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


More information about the llvm-commits mailing list