[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:57:45 PDT 2023


================
@@ -381,7 +394,8 @@ static void genPrivateLikeInitRegion(mlir::OpBuilder &builder, RecipeOp recipe,
       }
     }
   } else if (auto boxTy = mlir::dyn_cast_or_null<fir::BaseBoxType>(ty)) {
-    if (!mlir::isa<fir::SequenceType>(boxTy.getEleTy()))
+    mlir::Type innerTy = extractSequenceType(boxTy);
+    if (!mlir::isa<fir::SequenceType>(innerTy))
----------------
clementval wrote:

Yes. I'll update it. 

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


More information about the flang-commits mailing list