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

Erich Keane llvmlistbot at llvm.org
Fri Oct 17 13:48:48 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);
----------------
erichkeane wrote:

Ah!  I missed you don't consider `ins` here for the indent, so I think I got this right now.

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


More information about the Mlir-commits mailing list