[llvm] [mlir][sparse] implementating stageSparseOpPass as an interface (PR #69022)

Aart Bik via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 10:41:00 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 llvm-commits mailing list