[Mlir-commits] [mlir] [MLIR][OpenMP]Adding MLIR Op definition for scan (PR #107925)

Sergio Afonso llvmlistbot at llvm.org
Fri Sep 13 04:59:21 PDT 2024


================
@@ -1202,6 +1202,20 @@ def OrderedRegionOp : OpenMP_Op<"ordered.region", clauses = [
   let hasVerifier = 1;
 }
 
+def ScanOp : OpenMP_Op<"scan", traits = [
+    AttrSizedOperandSegments
+  ], clauses = [OpenMP_InclusiveClause, OpenMP_ExclusiveClause]> {
+  let summary = "scan construct with the region";
----------------
skatrak wrote:

Should it be "scan directive"?

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


More information about the Mlir-commits mailing list