[flang-commits] [flang] [flang][openacc] Support allocatable and pointer array in private recipe (PR #68422)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Fri Oct 6 09:36:24 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)))
----------------
vzakhari wrote:
nit: maybe we can use `hlfir::getFortranElementOrSequenceType` in the verifier to check that the sequence/scalar type of the recipe and the yield match vs just dropping verification completely.
https://github.com/llvm/llvm-project/pull/68422
More information about the flang-commits
mailing list