Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageExpansion.cpp | ||
---|---|---|
68 | period at end | |
85 | same | |
141 | Can you please use (1), (2) etc. In vi, unmatched braces, even in comments, sometimes mess up my navigation :-) | |
152 | to hold the ...? | |
mlir/test/Dialect/SparseTensor/sparse_tensor_storage.mlir | ||
30 | indent return at % above | |
42 | same |
Address comments
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageExpansion.cpp | ||
---|---|---|
152 | Removing it... as I optimized it using iterator_range (which should avoid data movement). | |
mlir/test/Dialect/SparseTensor/sparse_tensor_storage.mlir | ||
30 | Okay, I actually did it on purpose, to indicate the start of the function body. But yeah, probably indenting at the same space looks nicer. |
Last nits, but good to go in once addressed.
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp | ||
---|---|---|
220 | Nit: with some shorter text it will fit on one line ;) // The unrealized cast is needed to intermix tuples and a list of types. | |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageExpansion.cpp | ||
44 | Flattens (with s) is a bit more consistent with style above, also period at end | |
126 | period at end |
Nit: with some shorter text it will fit on one line ;)
// The unrealized cast is needed to intermix tuples and a list of types.