[Mlir-commits] [flang] [mlir] [Flang][OpenMP] Support iterator modifier in map and motion clauses (PR #197757)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Oct 14 10:51:54 PDT 2026
================
@@ -1514,7 +1559,7 @@ bool ClauseProcessor::processDepend(lower::SymMap &symMap,
llvm::SmallVector<IteratorRange> iteratorRanges;
llvm::SmallPtrSet<const Fortran::semantics::Symbol *, 4> ivSyms;
- collectIteratorIVs(clause, converter, stmtCtx, iteratorRanges, ivSyms);
+ collectIteratorIVs(clause, converter, stmtCtx, iteratorRanges, &ivSyms);
----------------
chichunchen wrote:
#227454 has landed, and this PR is rebased on it, so depend and affinity follow the per-locator rule. Map and motion clauses now pick their ranges from the same source iterator references. A reference that folding removes, such as a(0*i + 1), keeps its iterator, so an empty range removes the locator.
https://github.com/llvm/llvm-project/pull/197757
More information about the Mlir-commits
mailing list