================ @@ -112,7 +112,8 @@ static void gatherFuncAndVarSyms( static Fortran::lower::pft::Evaluation * getCollapsedLoopEval(Fortran::lower::pft::Evaluation &eval, int collapseValue) { - // Return the Evaluation of the innermost collapsed loop. + // Return the Evaluation of the innermost collapsed loop, or the current one + // if there was no COLLAPSE. if (collapseValue == 0) ---------------- kparzysz wrote:
I actually missed this change in the previous commit, but turns out that it's actually useful in this PR, since this function is called separately in a couple of places. https://github.com/llvm/llvm-project/pull/77760 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits