[Mlir-commits] [mlir] [mlir][OpenMP] Introduce 'omp.iterators' for OpenMP iterator modifiers (PR #182218)
Sergio Afonso
llvmlistbot at llvm.org
Tue Feb 24 04:44:08 PST 2026
================
@@ -2300,4 +2300,41 @@ def DeclareSimdOp
let hasVerifier = 1;
}
+//===----------------------------------------------------------------------===//
+// Iterators Op
+//===----------------------------------------------------------------------===//
+
+def IteratorsOp
+ : OpenMP_Op<"iterators", [AttrSizedOperandSegments,
+ SingleBlockImplicitTerminator<"YieldOp">]> {
----------------
skatrak wrote:
It might be a good idea to reuse the `OpenMP_LoopRelatedClause` for this op. It might not make the operation significantly simpler right now, but it would help if we want to share printing/parsing logic between `omp.loop_nest` and `omp.iterator`.
https://github.com/llvm/llvm-project/pull/182218
More information about the Mlir-commits
mailing list