[all-commits] [llvm/llvm-project] 2556d6: [mlir][sparse] assert fail on mismatch between ran...

Aart Bik via All-commits all-commits at lists.llvm.org
Thu Feb 18 23:22:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2556d622828ae5631ac483d82592440fa1910d80
      https://github.com/llvm/llvm-project/commit/2556d622828ae5631ac483d82592440fa1910d80
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M mlir/lib/ExecutionEngine/SparseUtils.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list