Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
62 | Just out of curiosity, m_Zero matches Dense<0> too? |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
62 | Yes, it is pretty advanced in matching! So in this case a full tensor of zero's matches it too. Note that the test is really the same as parse_sddmm.mlir but without the --test-tensor-copy-insertion pass, which means the zero is not converted to a alloc + copy zero yet. But by testing both now, we ensure that our fusion is less brittle for such changes.... |
Just out of curiosity, m_Zero matches Dense<0> too?