[Mlir-commits] [mlir] [mlir][sparse] introduce `sparse_tensor.coiterate` operation. (PR #101100)
Aart Bik
llvmlistbot at llvm.org
Tue Jul 30 11:10:16 PDT 2024
================
@@ -1644,6 +1644,123 @@ def IterateOp : SparseTensor_Op<"iterate",
let hasCustomAssemblyFormat = 1;
}
+def SparseTensor_CoIterateOp : SparseTensor_Op<"coiterate",
+ [AttrSizedOperandSegments,
+ SingleBlockImplicitTerminator<"sparse_tensor::YieldOp">,
+ RecursiveMemoryEffects]> {
+ let summary = "CoIterates over a set of sparse iteration spaces";
+ let description = [{
+ The `sparse_tensor.coiterate` operation represents a loop (nest) over
+ the a set of iteration spaces.
----------------
aartbik wrote:
the a -> a
Also, don't leave so much space, just put
The operation
on this line also
https://github.com/llvm/llvm-project/pull/101100
More information about the Mlir-commits
mailing list