[mlir][sparse] Removing unused helper function

Depends On D151505

Reviewed By: aartbik, Peiming

Differential Revision: https://reviews.llvm.org/D151522
This commit is contained in:
wren romano
2023-05-30 13:47:22 -07:00
parent af2bec7c4a
commit f58e67dee9

View File

@@ -31,17 +31,6 @@
using namespace mlir;
using namespace mlir::sparse_tensor;
//===----------------------------------------------------------------------===//
// Additional convenience methods.
//===----------------------------------------------------------------------===//
/// Gets the dimension-rank of the type of some `T`. (In particular
/// this is only used for `Value` and `TypedValue<RankedTensorType>`.)
template <typename T>
static inline Dimension getDimRank(T t) {
return getRankedTensorType(t).getRank();
}
//===----------------------------------------------------------------------===//
// StorageLayout
//===----------------------------------------------------------------------===//