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

Jean-Didier PAILLEUX via flang-commits flang-commits at lists.llvm.org
Wed Oct 7 02:55:04 PDT 2026


================
@@ -520,3 +520,90 @@ fir::ExtendedValue Fortran::lower::CoarrayExprHelper::genValue(
     const Fortran::evaluate::CoarrayRef &expr) {
   TODO(converter.getCurrentLocation(), "coarray: coarray value");
 }
+
+//===----------------------------------------------------------------------===//
+// EVENT and NOTIFY statements
+//===----------------------------------------------------------------------===//
+
+void Fortran::lower::genNotifyWaitStatement(
+    Fortran::lower::AbstractConverter &converter,
+    const Fortran::parser::NotifyWaitStmt &) {
+  TODO(converter.getCurrentLocation(), "coarray: NOTIFY WAIT runtime");
+}
----------------
JDPailleux wrote:

This code wasn't dead. It was just moved form `flang/lib/Lower/Runtime.{cpp|h}` to `flang/lib/Lower/MultiImageFortran.{cpp|h}` and `genNotifyWaitStatement` is called in `flang/lib/Lower/Bridge.cpp`

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


More information about the flang-commits mailing list