[mlir][sparse] add more asserts to sparse support lib
authorAart Bik <ajcbik@google.com>
Wed, 15 Sep 2021 23:08:49 +0000 (16:08 -0700)
committerAart Bik <ajcbik@google.com>
Thu, 16 Sep 2021 17:13:29 +0000 (10:13 -0700)
commit860cbeb15992a385d9a3fffb3f1a8443cc99b663
treea32f142e0bc9dbef18bdf40daf18a0a35af77103
parent2a1ac2e318c60955aecefb493e4707f0d609c35d
[mlir][sparse] add more asserts to sparse support lib

We are having issues running the integration test of the sparse compiler
on AArch64 (crashing in the lib). This revision adds more assertions.

Reviewed By: jsetoain

Differential Revision: https://reviews.llvm.org/D109861
mlir/lib/ExecutionEngine/SparseUtils.cpp