[llvm-branch-commits] [flang] [Flang][OpenMP] Push genEval closer to leaf lowering functions (PR #77760)

Sergio Afonso via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 12 06:53:09 PST 2024


================
@@ -2178,7 +2178,7 @@ createAndSetPrivatizedLoopVar(Fortran::lower::AbstractConverter &converter,
 template <typename Op>
 static void createBodyOfOp(
     Op &op, Fortran::lower::AbstractConverter &converter, mlir::Location &loc,
-    Fortran::lower::pft::Evaluation &eval,
+    Fortran::lower::pft::Evaluation &eval, bool genNested,
----------------
skatrak wrote:

Also, would `isCombined` be a better description, since that looks like the only place when it's going to be true? That way, it can be removed as a parameter to all `genSomeOp` functions of operations that can't appear in combined constructs as well.

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


More information about the llvm-branch-commits mailing list