[flang-commits] [flang] [flang][OpenMP][NFC] Outline `genOpWithBody` & `createBodyOfOp` args (PR #80817)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Tue Feb 6 04:57:51 PST 2024
================
@@ -2250,6 +2250,17 @@ createAndSetPrivatizedLoopVar(Fortran::lower::AbstractConverter &converter,
return storeOp;
}
+struct CreateBodyOfOpInfo {
+ Fortran::lower::AbstractConverter &converter;
+ mlir::Location &loc;
+ Fortran::lower::pft::Evaluation &eval;
+ bool genNested = true;
+ const Fortran::parser::OmpClauseList *clauses = nullptr;
+ const llvm::SmallVector<const Fortran::semantics::Symbol *> &args = {};
----------------
skatrak wrote:
```suggestion
const llvm::ArrayRef<const Fortran::semantics::Symbol *> args = {};
```
https://github.com/llvm/llvm-project/pull/80817
More information about the flang-commits
mailing list