This removes another massive source of redundancy, and instead has the Merger.{h,cpp} reuse the SparseTensorEnums library.
Depends On D136005
Paths
| Differential D136123
[mlir][sparse] Removing the DimLvlType and DimLevelFormat types ClosedPublic Authored by wrengr on Oct 17 2022, 7:13 PM.
Details Summary This removes another massive source of redundancy, and instead has the Merger.{h,cpp} reuse the SparseTensorEnums library. Depends On D136005
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 18 2022, 2:20 PM
Closed by commit rGe0401d225289: [mlir][sparse] Removing the DimLvlType and DimLevelFormat types (authored by wrengr). · Explain WhyOct 18 2022, 3:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 468663 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
|
Yeah, I agree that it should be unreachable here