[all-commits] [llvm/llvm-project] c2415d: [mlir][sparse] fixed bug in verification

Aart Bik via All-commits all-commits at lists.llvm.org
Tue Jul 27 08:49:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2415d67a5644eae870328497d46d97b28d5a974
      https://github.com/llvm/llvm-project/commit/c2415d67a5644eae870328497d46d97b28d5a974
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir

  Log Message:
  -----------
  [mlir][sparse] fixed bug in verification

The order of testing in two sparse tensor ops was incorrect,
which could cause an invalid cast (crashing the compiler instead
of reporting the error). This revision fixes that bug.

Reviewed By: gussmith23

Differential Revision: https://reviews.llvm.org/D106841




More information about the All-commits mailing list