This revision also adds convenience methods to test the
dim level type/property (with the codegen being first client)
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp | ||
---|---|---|
270 | Can you further split these util functions by providing an extra function? So that I can remove the similar utils that I introduced in https://reviews.llvm.org/D134782 |
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp | ||
---|---|---|
270 | I added those. The idea indeed is that we only have these enums in as few places as possible, such as utils like this, so we can later more easily improve the internal reprentation. |
Can you further split these util functions by providing an extra function?
isCompressedDim(SparseTensorEncodingAttr::DimlevelType dimType)
So that I can remove the similar utils that I introduced in https://reviews.llvm.org/D134782