[all-commits] [llvm/llvm-project] 0a2921: [mlir][sparse] sparse tensor type encoding migrati...

Aart Bik via All-commits all-commits at lists.llvm.org
Fri Apr 30 19:31:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a2921993199fbf8af5078dce0dd933d6a50e25b
      https://github.com/llvm/llvm-project/commit/0a2921993199fbf8af5078dce0dd933d6a50e25b
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    A mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/include/mlir/Dialect/Tensor/IR/CMakeLists.txt
    M mlir/include/mlir/Dialect/Tensor/IR/Tensor.h
    R mlir/include/mlir/Dialect/Tensor/IR/TensorAttrDefs.td
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
    M mlir/lib/Dialect/Tensor/IR/TensorDialect.cpp
    A mlir/test/Dialect/SparseTensor/invalid_encoding.mlir
    A mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir
    R mlir/test/Dialect/Tensor/invalid_sparse_tensor.mlir
    R mlir/test/Dialect/Tensor/valid_sparse.mlir

  Log Message:
  -----------
  [mlir][sparse] sparse tensor type encoding migration (new home, new builders)

(1) migrates the encoding from TensorDialect into the new SparseTensorDialect
(2) replaces dictionary-based storage and builders with struct-like data

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list