[mlir][sparse] assert fail on mismatch between rank and annotations array
Rationale: Providing the wrong number of sparse/dense annotations was silently ignored or caused unrelated crashes. This minor change verifies that the provided number matches the rank. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D97034
Loading
Please register or sign in to comment