[all-commits] [llvm/llvm-project] 9ad62f: [mlir][sparse] remove a few rewriting failures

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Nov 18 17:30:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ad62f62b9ad9852fea17a4c81b35e281e45fbaf
      https://github.com/llvm/llvm-project/commit/9ad62f62b9ad9852fea17a4c81b35e281e45fbaf
  Author: Aart Bik <ajcbik at google.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
    M mlir/test/Dialect/Linalg/sparse_invalid.mlir

  Log Message:
  -----------
  [mlir][sparse] remove a few rewriting failures

Rationale:
Make sure preconditions are tested already during verfication.
Currently, the only way a sparse rewriting rule can fail is if
(1) the linalg op does not have sparse annotations, or
(2) a yet to be handled operation is encounted inside the op

Reviewed By: penpornk

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




More information about the All-commits mailing list