[flang-commits] [flang] [llvm] [flang][MIF] Adding lowering for EVENT POST/WAIT statements (PR #210283)

via flang-commits flang-commits at lists.llvm.org
Tue Sep 8 02:56:46 PDT 2026


================
@@ -821,9 +821,6 @@ class FirConverter : public Fortran::lower::AbstractConverter {
               Fortran::lower::StatementContext &context,
               mlir::Location *locPtr = nullptr) override final {
     mlir::Location loc = locPtr ? *locPtr : toLocation();
-    auto coarrayRef = Fortran::evaluate::ExtractCoarrayRef(expr);
-    if (coarrayRef.has_value())
-      TODO(loc, "coarray: genExprAddr of coarray reference.");
----------------
jeanPerier wrote:

I understand you need to remove those to get your patch working, but have you verfified that all the other places where a CoarrayRef appears and are not implemented are covered. For instance, will a TODO fire for something like `call foo(coarray[peer])`?

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


More information about the flang-commits mailing list