aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2021-02-18 22:01:39 -0800
committerAart Bik <ajcbik@google.com>2021-02-18 23:22:14 -0800
commit2556d622828ae5631ac483d82592440fa1910d80 (patch)
tree11eb31c6b36b2cf3fdf115a55c51c35df4daa5ec /flang/lib/Frontend/CompilerInvocation.cpp
parentcd4051ac802fdc5664a3432f57d99bbcb4c07a92 (diff)
downloadllvm-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