[llvm-branch-commits] [mlir] [MLIR][OpenMP] Clause-based OpenMP operation definition (PR #92523)

Tom Eccles via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 6 03:50:34 PDT 2024


================
@@ -920,6 +663,9 @@ def TaskloopOp : OpenMP_Op<"taskloop", [AttrSizedOperandSegments,
     specifies how to combine the values from each iteration into the final
     value, which is available in the accumulator after the loop completes.
 
+    The optional `byref` attribute controls whether reduction arguments are
+    passed by reference or by value.
+
----------------
tblah wrote:

Here too. I guess we need separate work to standardize how reductions work over different ops?

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


More information about the llvm-branch-commits mailing list