[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:31 PDT 2026


================
@@ -1387,6 +1391,8 @@ class MapInfoFinalizationPass
       // is executed again as the final step of this pass to maintain
       // map to block argument consistency.
       func->walk([&](mlir::omp::MapInfoOp op) {
+        if (isNestedInIterator(op))
----------------
MattPD wrote:

Confirmed. Iterator-nested maps no longer reach the target-user lookup.


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


More information about the flang-commits mailing list