[flang-commits] [flang] [llvm] [mlir] [flang][llvm][OpenMP][OpenACC] Add implicit casts to omp.atomic and acc.atomic (PR #131603)
via flang-commits
flang-commits at lists.llvm.org
Thu Apr 17 06:43:44 PDT 2025
================
@@ -386,6 +442,7 @@ void genOmpAccAtomicRead(Fortran::lower::AbstractConverter &converter,
fir::getBase(converter.genExprAddr(fromExpr, stmtCtx));
mlir::Value toAddress = fir::getBase(converter.genExprAddr(
*Fortran::semantics::GetExpr(assignmentStmtVariable), stmtCtx));
+ emitImplicitCast(converter, loc, fromAddress, toAddress, elementType);
----------------
NimishMishra wrote:
Thanks @kiranchandramohan. I'll run these and report back the results.
https://github.com/llvm/llvm-project/pull/131603
More information about the flang-commits
mailing list