[flang-commits] [flang] [flang][acc] Add support for lowering combined constructs (PR #86696)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Tue Mar 26 10:47:21 PDT 2024
================
@@ -2419,6 +2426,10 @@ createComputeOp(Fortran::lower::AbstractConverter &converter,
mlir::ArrayAttr::get(builder.getContext(), firstPrivatizations));
}
+ if (combinedConstructs) {
+ computeOp.setCombinedAttr(builder.getUnitAttr());
+ }
----------------
clementval wrote:
```suggestion
if (combinedConstructs)
computeOp.setCombinedAttr(builder.getUnitAttr());
```
no braces
https://github.com/llvm/llvm-project/pull/86696
More information about the flang-commits
mailing list