Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Super nit pick, but important to me
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
632 | nitpick: Since we are just materializing an SSA value, can we use something other than "new' here, like .make_storage(a,b,c) or, or .pack(ab,c) just .storage(a,b,c) or something like that. The term "new" is too much associated with heap allocation, imho, so anything that avoids that confusion seems a bit better. |
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
646 | What do you think of a syntax with brackets? %0 = sparse_tensor.storage(%1, %2) : memref<?xf64>, memref<?xf64> |
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
632 | Okay, I chose it so that it has the same number of characters as storage_get. I will use .storage(a, b, c) |
nitpick: Since we are just materializing an SSA value, can we use something other than "new' here, like .make_storage(a,b,c) or, or .pack(ab,c) just .storage(a,b,c) or something like that. The term "new" is too much associated with heap allocation, imho, so anything that avoids that confusion seems a bit better.