[all-commits] [llvm/llvm-project] 31b72b: [mlir][sparse]Make isBlockSparsity more robust (#7...

Yinying Li via All-commits all-commits at lists.llvm.org
Tue Dec 12 10:43:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31b72b0742b09c970bea47b70eb535fe964e3c8f
      https://github.com/llvm/llvm-project/commit/31b72b0742b09c970bea47b70eb535fe964e3c8f
  Author: Yinying Li <107574043+yinying-lisa-li at users.noreply.github.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

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

  Log Message:
  -----------
  [mlir][sparse]Make isBlockSparsity more robust (#75113)

1. A single dimension can either be blocked (with floordiv and mod pair)
or non-blocked. Mixing them would be invalid.
2. Block size should be non-zero value.




More information about the All-commits mailing list