[Mlir-commits] [flang] [mlir] [ACC][MLIR] Add 'if-condition' to 'atomic' operations. (PR #164003)

Razvan Lupusoru llvmlistbot at llvm.org
Fri Oct 17 12:30:52 PDT 2025


================
@@ -2850,10 +2860,15 @@ def AtomicUpdateOp : OpenACC_Op<"atomic.update",
 
   let arguments = (ins Arg<OpenACC_PointerLikeType,
                            "Address of variable to be updated",
-                           [MemRead, MemWrite]>:$x);
+                           [MemRead, MemWrite]>:$x,
+                   Optional<I1>:$ifCond);
----------------
razvanlupusoru wrote:

nit: mismatched indentation

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


More information about the Mlir-commits mailing list