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

Krzysztof Parzyszek via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 05:47:23 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 see what you mean.  Yeah, one flag is a directive, the other one is an information (the `outerCombined` is there to indicate whether data-sharing (privatization etc.) has already been initiated or not).  Hopefully the `genNested` will be eliminated eventually.

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


More information about the cfe-commits mailing list