[flang-commits] [flang] [flang][openacc] Support allocatable and pointer array in private recipe (PR #68422)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Fri Oct 6 20:58:54 PDT 2023


================
@@ -435,7 +435,7 @@ static LogicalResult verifyInitLikeSingleArgRegion(
 LogicalResult acc::PrivateRecipeOp::verifyRegions() {
   if (failed(verifyInitLikeSingleArgRegion(*this, getInitRegion(),
                                            "privatization", "init", getType(),
-                                           /*verifyYield=*/true)))
+                                           /*verifyYield=*/false)))
----------------
clementval wrote:

Unfortunately, the verifier is in the core MLIR and there is no notion of FIR type here. Maybe the element type could be retrieve through an interface somehow. 

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


More information about the flang-commits mailing list