[all-commits] [llvm/llvm-project] 9916ab: [mlir][sparse] (re)introducing getRankedTensorType...

wren romano via All-commits all-commits at lists.llvm.org
Wed Jan 25 11:30:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9916ab03f19dc50c688b8567ac0d30b4a6615f9d
      https://github.com/llvm/llvm-project/commit/9916ab03f19dc50c688b8567ac0d30b4a6615f9d
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseVectorization.cpp

  Log Message:
  -----------
  [mlir][sparse] (re)introducing getRankedTensorType/getMemrefType

The bulk of D142074 seems to have gotten overwritten due to some sort of merge conflict (afaict there's no record of it having been reverted intentionally).  So this commit redoes those changes.  In addition to the original changes, this commit also:
* moves the definition of `getRankedTensorType` (from `Transforms/CodegenUtils.h` to `IR/SparseTensor.h`), so that it can be used by `IR/SparseTensorDialect.cpp`.
* adds `getMemRefType` as another abbreviation.

Reviewed By: aartbik

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




More information about the All-commits mailing list