[mlir][sparse] fix crash when calling getTuple on non-sparse tensors.
authorPeiming Liu <peiming@google.com>
Fri, 11 Nov 2022 18:51:25 +0000 (18:51 +0000)
committerPeiming Liu <peiming@google.com>
Fri, 11 Nov 2022 21:15:44 +0000 (21:15 +0000)
commit5ab1a8aef454b82c409587aa849f4a1d2f1a86f9
treea1f75a8f4b12c67bc795382da771bf979fc5e307
parent8ca7ed7f932e201eac6fe1733b4b41140f036620
[mlir][sparse] fix crash when calling getTuple on non-sparse tensors.

This enables full sparse convolution codegen in D137298

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D137853
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp