================
@@ -3189,13 +3208,15 @@ static void genOMP(Fortran::lower::AbstractConverter 
&converter,
     if ((llvm::omp::allTargetSet & llvm::omp::loopConstructSet)
             .test(ompDirective)) {
       validDirective = true;
-      genTargetOp(converter, eval, semanticsContext, currentLocation,
-                  loopOpClauseList, ompDirective, /*outerCombined=*/true);
+      genTargetOp(converter, eval, semanticsContext, /*genNested=*/false,
----------------
kparzysz wrote:

The `targetOp` here is a part of a composite OpenMP directive, so the only 
nested constructs possible are those nested in the provided `loopConstruct`.

https://github.com/llvm/llvm-project/pull/77760
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to