[flang-commits] [flang] [mlir] [mlir][OpenMP] Add iterator support to map/motion clause (PR #197047)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Fri Jun 5 06:11:18 PDT 2026


================
@@ -2572,7 +2609,12 @@ LogicalResult TargetOp::verify() {
                                       getHasDeviceAddrVars())))
     return failure();
 
-  if (failed(verifyMapClause(*this, getMapVars())))
+  if (!getMapIterated().empty())
+    return emitOpError()
+           << "'map_iterated' is not yet supported on 'omp.target' without "
+              "target-region capture bindings";
----------------
skatrak wrote:

This is what the not-yet-implemented checks in MLIR to LLVM IR are for, we can remove this check from here now.

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


More information about the flang-commits mailing list