[all-commits] [llvm/llvm-project] dd3348: [mlir][sparse] add getPointerType/getIndexType to ...

PeimingLiu via All-commits all-commits at lists.llvm.org
Thu Dec 1 14:02:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd33481f48f264420862d1ee9eae83f2deab7078
      https://github.com/llvm/llvm-project/commit/dd33481f48f264420862d1ee9eae83f2deab7078
  Author: Peiming Liu <peiming at google.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp

  Log Message:
  -----------
  [mlir][sparse] add getPointerType/getIndexType to SparseTensorEncodingAttr.

add new interfaces to SparseTensorEncodingAttr to construct the pointer/index types based on pointer/index bitwidth.

Reviewed By: aartbik, wrengr

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




More information about the All-commits mailing list