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

Razvan Lupusoru llvmlistbot at llvm.org
Fri Oct 17 13:51:09 PDT 2025


================
@@ -2787,10 +2787,16 @@ def AtomicReadOp : OpenACC_Op<"atomic.read", [AtomicReadOpInterface]> {
 
   let arguments = (ins OpenACC_PointerLikeType:$x,
                        OpenACC_PointerLikeType:$v,
-                       TypeAttr:$element_type);
+                       TypeAttr:$element_type,
+                       Optional<I1>:$ifCond
+                       );
----------------
razvanlupusoru wrote:

nit: maybe move it up to line above?

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


More information about the Mlir-commits mailing list