[all-commits] [llvm/llvm-project] 83a508: [mlir][sparse] avoid using mutable descriptor when...

PeimingLiu via All-commits all-commits at lists.llvm.org
Tue Jan 17 12:54:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83a50839b7ba3cb60cd46403cc517237a73d5276
      https://github.com/llvm/llvm-project/commit/83a50839b7ba3cb60cd46403cc517237a73d5276
  Author: Peiming Liu <peiming at google.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h

  Log Message:
  -----------
  [mlir][sparse] avoid using mutable descriptor when unnecessary (NFC)

Use SparseTensorDescriptor whenever not calling setters, to avoid needing to create a temporal buffer for simple query purposes.

Reviewed By: bixia, wrengr

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




More information about the All-commits mailing list