[Mlir-commits] [mlir] [mlir][sparse] implementating stageSparseOpPass as an interface (PR #69022)
Aart Bik
llvmlistbot at llvm.org
Tue Oct 17 10:41:03 PDT 2023
================
@@ -357,6 +359,12 @@ def SparseTensor_ConcatenateOp : SparseTensor_Op<"concatenate", [Pure]>,
```
}];
+ let extraClassDeclaration = [{
+ // Whether the concatenate can be done by a single step or it would require
+ // an extra sort. Inherited from StageWithSortSparseOpInterface.
+ bool needExtraSort();
----------------
aartbik wrote:
same
https://github.com/llvm/llvm-project/pull/69022
More information about the Mlir-commits
mailing list