[llvm-branch-commits] [flang] [Flang][OpenMP] Push genEval calls to individual operations, NFC (PR #77758)

Sergio Afonso via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 12 05:13:11 PST 2024


================
@@ -110,6 +110,32 @@ static void gatherFuncAndVarSyms(
   }
 }
 
+static Fortran::lower::pft::Evaluation *
+getEvalPastCollapse(Fortran::lower::pft::Evaluation &eval, int collapseValue) {
----------------
skatrak wrote:

Nit: I tend to read this function name as meaning "return the next eval after a collapsed nest of loops", when it actually looks to be returning the eval for the innermost collapsed loop. Maybe the name can be changed to something a bit more descriptive.

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


More information about the llvm-branch-commits mailing list