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

Sergio Afonso via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 21 04:44:04 PST 2025


================
@@ -30,6 +30,9 @@ namespace looputils {
 struct InductionVariableInfo {
   /// the operation allocating memory for iteration variable,
   mlir::Operation *iterVarMemDef;
+  /// the operation(s) updating the iteration variable with the current
+  /// iteration number.
+  llvm::SetVector<mlir::Operation *> indVarUpdateOps;
----------------
skatrak wrote:

Is there any reason why this has to be a set? It seems like an implementation detail that leaked out of `extractIndVarUpdateOps`.

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


More information about the llvm-branch-commits mailing list