[all-commits] [llvm/llvm-project] 6afaea: [mlir][sparse] fixed inaccury in maintaining unive...

Aart Bik via All-commits all-commits at lists.llvm.org
Sat Feb 27 17:33:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6afaea6682dc3b0eb7e125847934759be6d0fb5c
      https://github.com/llvm/llvm-project/commit/6afaea6682dc3b0eb7e125847934759be6d0fb5c
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-02-27 (Sat, 27 Feb 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
    M mlir/test/Dialect/Linalg/sparse_1d.mlir
    M mlir/test/Dialect/Linalg/sparse_2d.mlir

  Log Message:
  -----------
  [mlir][sparse] fixed inaccury in maintaining universal index

The universal index was maintained if dense indices were still
in place, and lattice points followed. However, it should only
be kept if any of those following lattice points actually
consumes the universal index. This change also fixes an
inaccuracy with a missing broadcast around vector invariant.

Reviewed By: bixia

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




More information about the All-commits mailing list