When calculating the dynamic dimensions for the concatenate result, we
shouldn't accumulate the sizes for the non-concatenating dimensions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
472–477 | When was it deleted? |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
472–477 | NVM, but are you sure there is no compiler warning? e.g., conDim (size_t) == d.index() (int)? |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
472–477 | You are right! |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
472–477 | Can you please add a comment to this test (so we will never delete it again) |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
472–477 | If the issue is about signedness warnings, then I could move mlir/ExecutionEngine/SparseTensor/ArithmeticUtils.h into MLIRSparseTensorEnums so that safelyEQ can be used here |
Add a comment.
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
472–477 | Thanks! But the two types are the same here. |
When was it deleted?