Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
275 | Why can't we support n==1 though, it falls back to push_back, but should still be legitimate, right? |
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
275 | Wait, is the n a compile-time constant? That won't work? We need this as a regular SSA value. |
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
286 | Perhaps also say something here that although this is semantically equivalent to calling push_back n times, it gives backend optimizations more chances to deal with memory reallocation and filling the memory with the same value. |
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
275 | There must be some miscommunication, as in the discuss the decision was to use attribute. Change to use input value. |
Neat! Thanks!
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
274 | layout? | |
275 | No worries, thanks for changing. The indent was always to have runtime values, since we want to mimic e.g. values.insert(values.end(), count, 0); from the runtime library in actual code. | |
322 | Interesting, when something is optional in the assembly, there is no builder without? |
layout?