[flang-commits] [flang] [mlir] [Flang][OpenMP] Support iterator modifier in map and motion clauses (PR #197757)
via flang-commits
flang-commits at lists.llvm.org
Wed Oct 14 10:49:19 PDT 2026
================
@@ -1935,12 +1999,32 @@ bool ClauseProcessor::processMotionClauses(lower::StatementContext &stmtCtx,
// Support motion modifiers: iterator.
std::string mapperIdName = getMapperIdentifier(converter, mapper);
- if (iterator)
- TODO(clauseLocation, "Iterator modifier is not supported yet");
-
- processMapObjects(stmtCtx, clauseLocation, objects, mapTypeBits,
- parentMemberIndices, result.mapVars, mapObjects,
- mapperIdName, /*isMotionModifier=*/true);
+ if (iterator) {
----------------
chichunchen wrote:
Done. processMap and processMotionClauses both go through processMapObjectsWithIterator now, which splits iterator-dependent locators from ordinary ones
https://github.com/llvm/llvm-project/pull/197757
More information about the flang-commits
mailing list