diff options
author | Aart Bik <ajcbik@google.com> | 2021-02-18 22:01:39 -0800 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2021-02-18 23:22:14 -0800 |
commit | 2556d622828ae5631ac483d82592440fa1910d80 (patch) | |
tree | 11eb31c6b36b2cf3fdf115a55c51c35df4daa5ec /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | cd4051ac802fdc5664a3432f57d99bbcb4c07a92 (diff) | |
download | llvm-2556d622828ae5631ac483d82592440fa1910d80.zip llvm-2556d622828ae5631ac483d82592440fa1910d80.tar.gz llvm-2556d622828ae5631ac483d82592440fa1910d80.tar.bz2 |
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions