[flang-commits] [flang] [Flang][MIF] Adding support of intrinsics with coarray argument (PR #192944)

via flang-commits flang-commits at lists.llvm.org
Thu Jun 18 00:58:07 PDT 2026


================
@@ -139,6 +139,12 @@ void storeCoarrayHandle(fir::FirOpBuilder &builder, mlir::Location loc,
   fir::StoreOp::create(builder, loc, coarrayHandle, addrOf);
 }
 
+std::int64_t getCorank(fir::FirOpBuilder &builder, mlir::Location loc,
----------------
jeanPerier wrote:

Nit: no need for the builder anymore, this makes it look like IR may be generated when calling the function.

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


More information about the flang-commits mailing list