[mlir][sparse] Removing the DimLvlType and DimLevelFormat types
authorwren romano <2998727+wrengr@users.noreply.github.com>
Tue, 18 Oct 2022 02:11:20 +0000 (19:11 -0700)
committerwren romano <2998727+wrengr@users.noreply.github.com>
Tue, 18 Oct 2022 22:47:40 +0000 (15:47 -0700)
commite0401d2252891e2adf8d81be52ae106f08b799b5
treec129959b93ea212ea3db9ec020d2557af4d964f5
parent98c529652af413eba8df34642613ca5a0e87e52c
[mlir][sparse] Removing the DimLvlType and DimLevelFormat types

This removes another massive source of redundancy, and instead has the Merger.{h,cpp} reuse the SparseTensorEnums library.

Depends On D136005

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D136123
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
mlir/lib/Dialect/SparseTensor/Utils/CMakeLists.txt
mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
mlir/unittests/Dialect/SparseTensor/MergerTest.cpp
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel