[mlir][sparse] remove singleton dimension level type (for now)
authorAart Bik <ajcbik@google.com>
Tue, 2 Aug 2022 17:36:05 +0000 (10:36 -0700)
committerAart Bik <ajcbik@google.com>
Tue, 2 Aug 2022 18:48:49 +0000 (11:48 -0700)
commit9921ef73c864c5aa7a2f1e539a09d5cbd487def9
tree865a95eaba46acbe9a603fd92c42d806fd9592e3
parentf712775dafdb221fdf73f38819fa9e618aec6b67
[mlir][sparse] remove singleton dimension level type (for now)

Although we have plans to support this, and many other, dimension level type(s), currently the tag is not supported. It will be easy to add this back once support is added.

NOTE: based on discussion in https://discourse.llvm.org/t/overcoming-sparsification-limitation-on-level-types/62585

https://github.com/llvm/llvm-project/issues/51658

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D131002
mlir/include/mlir-c/Dialect/SparseTensor.h
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
mlir/lib/Bindings/Python/DialectSparseTensor.cpp
mlir/lib/CAPI/Dialect/SparseTensor.cpp
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
mlir/test/CAPI/sparse_tensor.c