[clang] [clang-tools-extra] [llvm] [flang] [compiler-rt] [Flang][OpenMP] Push genEval closer to leaf lowering functions (PR #77760)

Krzysztof Parzyszek via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 07:25:06 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,
----------------
kparzysz wrote:

I prefer `genNested`, since I think of it as a directive to the callee: either lower the nested evaluations or not.

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


More information about the cfe-commits mailing list