[flang-commits] [flang] [flang][acc] Add support for lowering combined constructs (PR #80321)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Thu Feb 1 11:59:09 PST 2024


================
@@ -2047,7 +2053,7 @@ genACC(Fortran::lower::AbstractConverter &converter,
       std::get<std::optional<Fortran::parser::DoConstruct>>(loopConstruct.t);
   auto loopOp = createLoopOp(converter, currentLocation, semanticsContext,
                              stmtCtx, *outerDoConstruct, eval, accClauseList,
-                             needEarlyExitHandling);
+                             {}, needEarlyExitHandling);
----------------
clementval wrote:

```suggestion
                             /*combinedConstructs=*/{}, needEarlyExitHandling);
```
Or you can put a default value with the argument

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


More information about the flang-commits mailing list