[mlir][sparse] add action enum, group enums together, few asserts
authorAart Bik <ajcbik@google.com>
Tue, 12 Oct 2021 00:11:13 +0000 (17:11 -0700)
committerAart Bik <ajcbik@google.com>
Tue, 12 Oct 2021 15:50:51 +0000 (08:50 -0700)
commit9fc35c306cfd61d069633a676fe2a6c56df11fe1
tree0410699cd087b3072370a50ba37993e693cc6d83
parent519b350de062a6118629e554c9e00c9ff9ef204e
[mlir][sparse] add action enum, group enums together, few asserts

Some random changes that were hanging around in my workspace. Also,
a tiny step towards creating a header file for the sparse utils lib.

Reviewed By: bixia

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