folds conversion between identical types (with tests)
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D109545
[mlir][sparse] add folding to sparse_tensor.convert ClosedPublic Authored by aartbik on Sep 9 2021, 2:39 PM.
Details Summary folds conversion between identical types (with tests)
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 18 others. · View Herald TranscriptSep 9 2021, 2:39 PM ThomasRaoux added inline comments.
This revision is now accepted and ready to land.Sep 9 2021, 2:45 PM Closed by commit rG066d786ce03b: [mlir][sparse] add folding to sparse_tensor.convert (authored by aartbik). · Explain WhySep 9 2021, 3:45 PM This revision was automatically updated to reflect the committed changes. aartbik marked an inline comment as done.
Revision Contents
Diff 371738 mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/test/Dialect/SparseTensor/conversion.mlir
mlir/test/Dialect/SparseTensor/fold.mlir
|
this looks like the same test as in fold.mlir? Is that on purpose?