[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
================
@@ -327,7 +327,8 @@ genAtomicCaptureStatement(Fortran::lower::AbstractConverter &converter,
fir::FirOpBuilder &firOpBuilder = converter.getFirOpBuilder();
mlir::acc::AtomicReadOp::create(firOpBuilder, loc, fromAddress, toAddress,
- mlir::TypeAttr::get(elementType));
+ mlir::TypeAttr::get(elementType),
+ /*IfCond=*/mlir::Value{});
----------------
razvanlupusoru wrote:
nit: Here and below - should it be `ifCond` instead of `IfCond`?
https://github.com/llvm/llvm-project/pull/164003
More information about the Mlir-commits
mailing list