[mlir][sparse] test for linalg tensor semantics (#70254)
commit740582fa4c9512b34128dc97b2eff56820984421
authorAart Bik <39774503+aartbik@users.noreply.github.com>
Wed, 25 Oct 2023 21:07:38 +0000 (25 14:07 -0700)
committerGitHub <noreply@github.com>
Wed, 25 Oct 2023 21:07:38 +0000 (25 14:07 -0700)
tree1aa330e405c4516c60fa8d8430aa2b7f6c0be7e2
parent3dbcd733ad594f0da9a442899bce2758ae7ed76d
[mlir][sparse] test for linalg tensor semantics (#70254)

This test used to be here, but somehow got lost while linalg rewrote
their interfaces. It is essential to test this on entry of
sparsification, however, since all subsequent analysis simply assumes
tensor types.

Fixes:
https://github.com/llvm/llvm-project/issues/64325
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp