[Mlir-commits] [mlir] [mlir][sparse] implementating stageSparseOpPass as an interface (PR #69022)
Aart Bik
llvmlistbot at llvm.org
Tue Oct 17 10:41:00 PDT 2023
================
@@ -197,9 +198,9 @@ def SparseTensor_ConvertOp : SparseTensor_Op<"convert",
}];
let extraClassDeclaration = [{
- // Whether the convert can be done by a single step (either a sort or a foreach),
- // or it would require a tmp buffer (sort, then foreach).
- bool directConvertable();
+ // Whether the convert can be done by a single step or it would require
+ // an extra sort. Inherited from StageWithSortSparseOpInterface.
+ bool needExtraSort();
----------------
aartbik wrote:
needsExtraSort() ?
https://github.com/llvm/llvm-project/pull/69022
More information about the Mlir-commits
mailing list