Required by scf.for to achieve 1:N type conversion (See D136314).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp | ||
|---|---|---|
| 169 | This looks okay, but shall we do this in the constructor in the SparseTensorCodegen.cpp file? mlir::SparseTensorTypeToBufferConverter::SparseTensorTypeToBufferConverter() { addConversion([](Type type) { return type; });
addConversion(convertSparseTensorType);} | |
This looks okay, but shall we do this in the constructor in the SparseTensorCodegen.cpp file?
Just so that all logic is in one place?
mlir::SparseTensorTypeToBufferConverter::SparseTensorTypeToBufferConverter() {
addConversion([](Type type) { return type; }); addConversion(convertSparseTensorType);}