[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


================
@@ -573,22 +671,78 @@ def NVVM_MBarrierArriveNocompleteSharedOp : NVVM_Op<"mbarrier.arrive.nocomplete.
 
 def NVVM_MBarrierArriveExpectTxOp : NVVM_PTXBuilder_Op<"mbarrier.arrive.expect_tx">,  
   Arguments<(ins LLVM_AnyPointer:$addr, I32:$txcount, PtxPredicate:$predicate)> {
+  let summary = "MBarrier Arrive with Expected Transaction Count";
+  let description = [{
+    The `nvvm.mbarrier.arrive.expect_tx` operation performs an expect-tx operation 
+    followed by an arrive-on operation on the mbarrier object. Uses the default 
+    `.release.cta` semantics.
----------------
grypp wrote:

We should explain what is `expect-tx` and what is `.release.cta` semantic here clearly without relying on PTX guideline. 

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


More information about the Mlir-commits mailing list