[flang-commits] [flang] [flang][Lower] Add lowering to SYNC ALL, SYNC MEMORY and SYNC IMAGES to PRIF (PR #154166)

Katherine Rasmussen via flang-commits flang-commits at lists.llvm.org
Wed Aug 20 21:47:54 PDT 2025


================
@@ -48,6 +49,50 @@ static void genUnreachable(fir::FirOpBuilder &builder, mlir::Location loc) {
   builder.setInsertionPointToStart(newBlock);
 }
 
+// Check support of Multi-image features if -fcoarray is provided
+void checkCoarrayEnabled(Fortran::lower::AbstractConverter &converter,
----------------
ktras wrote:

Is there a reason why the `checkCoarrayEnabled` function here is necessary in addition to the `checkCoarrayEnabled` function that you defined in `flang/include/flang/Optimizer/Builder/IntrinsicCall.h` in a [recently merged PR](https://github.com/llvm/llvm-project/pull/154081)?

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


More information about the flang-commits mailing list