[llvm] [DirectX] introducing lowering for `bufferUpdateCounter` (PR #115041)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 13:40:17 PST 2024


================
@@ -730,6 +730,15 @@ def BufferStore : DXILOp<69, bufferStore> {
   let stages = [Stages<DXIL1_0, [all_stages]>];
 }
 
+def UpdateCounter : DXILOp<70, bufferUpdateCounter> {
+  let Doc = "increments/decrements a buffer counter";
+  let arguments = [
+    HandleTy, Int8Ty
+  ];
----------------
bogner wrote:

No need to wrap here, this list is short.
```suggestion
  let arguments = [HandleTy, Int8Ty];
```

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


More information about the llvm-commits mailing list