[all-commits] [llvm/llvm-project] 81cb70: [mlir][sparse] fix a bug in UnpackOp converter.

PeimingLiu via All-commits all-commits at lists.llvm.org
Tue Feb 14 18:36:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81cb70e46ea1edb16fe97b5e44e3d710d64b2dbb
      https://github.com/llvm/llvm-project/commit/81cb70e46ea1edb16fe97b5e44e3d710d64b2dbb
  Author: Peiming Liu <peiming at google.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
    M mlir/test/Dialect/SparseTensor/sparse_pack.mlir

  Log Message:
  -----------
  [mlir][sparse] fix a bug in UnpackOp converter.

UnpackOp Converter used to create reallocOp unconditionally, but it might cause issue when the requested memory size is smaller than the actually storage.

Reviewed By: aartbik

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




More information about the All-commits mailing list