[Mlir-commits] [mlir] [mlir][NVVM] Add memory clobber support to inline_ptx and BasicPtxBui… (PR #212937)

Guray Ozen llvmlistbot at llvm.org
Thu Jul 30 00:33:46 PDT 2026


================
@@ -416,22 +422,24 @@ def NVVM_InlinePtxOp : NVVM_Op<"inline_ptx",
     ```
   }];
 
-  let arguments = (ins Variadic<AnyType>:$readOnlyArgs, 
-                       Variadic<AnyType>:$readWriteArgs, 
+  let arguments = (ins Variadic<AnyType>:$readOnlyArgs,
+                       Variadic<AnyType>:$readWriteArgs,
                        StrAttr:$ptxCode,
-                       PtxPredicate:$predicate);
-                      
+                       PtxPredicate:$predicate,
+                       UnitAttr:$memoryClobber);
----------------
grypp wrote:

Can you change this to DefaultValuedAttrbute boolean and keep false y default

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


More information about the Mlir-commits mailing list