[llvm-branch-commits] [flang] [flang][OpenMP] Extend `do concurrent` mapping to multi-range loops (PR #127634)

Kareem Ergawy via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 17 00:56:31 PDT 2025


================
@@ -102,6 +105,47 @@ mlir::Operation *findLoopIterationVarMemDecl(fir::DoLoopOp doLoop) {
   return result.getDefiningOp();
 }
 
+/// Collects the op(s) responsible for updating a loop's iteration variable with
+/// the current iteration number. For example, for the input IR:
----------------
ergawy wrote:

Simplified the function to match the current flang pattern. I will mark the above comments as resolved since they don't apply anymore.

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


More information about the llvm-branch-commits mailing list