[mlir][sparse] cleanup of enums header (#71090)
commitee3ee1315a757345dfc50eed34b5074c6e87df2d
authorAart Bik <39774503+aartbik@users.noreply.github.com>
Thu, 2 Nov 2023 20:00:27 +0000 (2 13:00 -0700)
committerGitHub <noreply@github.com>
Thu, 2 Nov 2023 20:00:27 +0000 (2 13:00 -0700)
tree07660f2ac86a0e17b963e3f6841e04dabd73975e
parent06145dcdccaa182a7ba78d709d6d3ae448a62f0a
[mlir][sparse] cleanup of enums header (#71090)

Some DLT related methods leaked into sparse_tensor.h, and this moves it
back to the right header. Also, the asserts were incomplete and some DLT
methods duplicated.
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp