[Mlir-commits] [mlir] [MLIR] [NVVM] Update summary and description fields for Barrier Ops in NVVMOps.td (PR #156726)

Guray Ozen llvmlistbot at llvm.org
Wed Sep 3 23:19:31 PDT 2025


================
@@ -648,6 +840,15 @@ def NVVM_MBarrierTestWaitSharedOp : NVVM_Op<"mbarrier.test.wait.shared">,
 //===----------------------------------------------------------------------===//
 
 def NVVM_Barrier0Op : NVVM_Op<"barrier0"> {
+  let summary = "CTA Barrier Synchronization Op (Barrier ID 0)";
+  let description = [{
+    The `nvvm.barrier0` operation is a convenience operation that performs barrier 
+    synchronization and communication within a CTA (Cooperative Thread Array) using 
+    barrier ID 0. It is functionally equivalent to `nvvm.barrier` with `barrierId = 0`. 
----------------
grypp wrote:

```suggestion
    barrier ID 0. It is functionally equivalent to `nvvm.barrier` or `nvvm.barrier id=0`
```

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


More information about the Mlir-commits mailing list