Previously, we rely on InsertOp to add values to the result, in the same way we
add values to a sparse tensor with compressed dimensions. We now direct store
values to the values buffer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/SparseTensor/sparse_concat_codegen.mlir | ||
---|---|---|
277 | Why this cast is needed? is it possible to allocate a static-shaped memref L274 at the first place? |
Comment Actions
Allocate buffer with static shape to avoid memref.cast.
rebase.
mlir/test/Dialect/SparseTensor/sparse_concat_codegen.mlir | ||
---|---|---|
277 | Good point. Modify genAlloca to support this. |
Why this cast is needed? is it possible to allocate a static-shaped memref L274 at the first place?