[flang-commits] [flang] [Flang][OpenMP] Support iterator modifier in map and motion clauses (PR #197757)

via flang-commits flang-commits at lists.llvm.org
Wed Aug 5 22:25:34 PDT 2026


================
@@ -1395,6 +1401,9 @@ class MapInfoFinalizationPass
       // Next, walk `omp.map.info` ops to see if any record members should be
       // implicitly mapped.
       func->walk([&](mlir::omp::MapInfoOp op) {
+        if (isNestedInIterator(op))
----------------
MattPD wrote:

Confirmed. The shared walk helper applies the skip uniformly now, which answers the symmetry question.


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


More information about the flang-commits mailing list