[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
================
@@ -2002,6 +2003,11 @@ createLoopOp(Fortran::lower::AbstractConverter &converter,
if (!collapseDeviceTypes.empty())
loopOp.setCollapseDeviceTypeAttr(builder.getArrayAttr(collapseDeviceTypes));
+ if (combinedConstructs) {
+ loopOp.setCombinedAttr(mlir::acc::CombinedConstructsTypeAttr::get(
+ builder.getContext(), combinedConstructs.value()));
----------------
clementval wrote:
```suggestion
builder.getContext(), *combinedConstructs));
```
https://github.com/llvm/llvm-project/pull/80321
More information about the flang-commits
mailing list