[mlir][sparse] fix a crash when generating sparse convolution with nchw input
authorPeiming Liu <peiming@google.com>
Tue, 30 May 2023 19:00:53 +0000 (19:00 +0000)
committerPeiming Liu <peiming@google.com>
Tue, 30 May 2023 20:16:54 +0000 (20:16 +0000)
commitdb7f639b900dca266ea9f47c934418af0a67122b
tree6c722982c5437b9e233f6b7654d9c75f95911518
parent692f3059fb95fe191033d2f710c51babc08b9425
[mlir][sparse] fix a crash when generating sparse convolution with nchw input

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D151744
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nchw_fchw.mlir [new file with mode: 0644]