summaryrefslogtreecommitdiff
path: root/mlir/lib/Dialect/SparseTensor/Transforms/Utils/CodegenUtils.h
AgeCommit message (Collapse)Author
2025-07-22[mlir][NFC] update `mlir/Dialect` create APIs (21/n) (#149928)Maksim Levental
See https://github.com/llvm/llvm-project/pull/147168 for more info.
2024-11-19[mlir][SparseTensor][NFC] Pass tensor type to descriptor helper (#116468)Matthias Springer
`getDescriptorFromTensorTuple` and `getMutDescriptorFromTensorTuple` extract the tensor type from an `unrealized_conversion_cast` op that serves as a workaround for missing 1:N dialect conversion support. This commit changes these functions so that they explicitly receive the tensor type as a function argument. This is in preparation of merging the 1:1 and 1:N conversion drivers. The conversion patterns in this file will soon start receiving multiple SSA values (`ValueRange`) from their adaptors (instead of a single value that is the result of `unrealized_conversion_cast`). It will no longer be possible to take the tensor type from the `unrealized_conversion_cast` op. The `unrealized_conversion_cast` workaround will disappear entirely.
2024-05-02[mlir][sparse] Support explicit/implicit value for complex type (#90771)Yinying Li
2024-04-29[mlir][sparse] fold explicit value during sparsification (#90530)Aart Bik
This ensures the explicit value is generated (and not a load into the values array). Note that actually not storing values array at all is still TBD, this is just the very first step.
2024-03-04[mlir][sparse] support sparsifying batch levels (#83898)Peiming Liu
2024-02-28[mlir][sparse] code cleanup (using inferred type to construct to_[buf… ↵Peiming Liu
(#83361) …fer] op).
2024-02-05[mlir][sparse] Change LevelType enum to 64 bit (#80501)Yinying Li
1. C++ enum is set through enum class LevelType : uint_64. 2. C enum is set through typedef uint_64 level_type. It is due to the limitations in Windows build: setting enum width to ui64 is not supported in C.
2023-12-15[NFC][mlir][sparse] remove redundant parameter. (#75551)Peiming Liu
2023-12-13[mlir][sparse] minor cleanup of transform/utils (#75396)Aart Bik
Consistent include macro naming Modified and added comments
2023-12-12[mlir][sparse] refactor utilities into transform/utils dir (#75250)Aart Bik
Separates actual transformation files from supporting utility files in the transforms directory. Includes a bazel overlay fix for the build (as well as a bit of cleanup of that file to be less verbose and more flexible).