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

Dan Bonachea via flang-commits flang-commits at lists.llvm.org
Thu Apr 23 20:46:02 PDT 2026


================
@@ -243,6 +243,10 @@ static constexpr IntrinsicHandler handlers[]{
     {"command_argument_count", &I::genCommandArgumentCount},
     {"conjg", &I::genConjg},
     {"cosd", &I::genCosd},
+    {"coshape",
+     &I::genCoshape,
+     {{{"coarray", asAddr}, {"kind", asValue}}},
+     false},
----------------
bonachea wrote:

Preserving the existing pattern in this file:

```suggestion
     /*isElemental=*/false},
```

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


More information about the flang-commits mailing list