[all-commits] [llvm/llvm-project] bc04a4: [mlir][sparse] adding OverheadType::kIndex

wren romano via All-commits all-commits at lists.llvm.org
Tue Jan 4 16:16:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc04a4703824c005490e7ae79f64e873e1bd6c92
      https://github.com/llvm/llvm-project/commit/bc04a4703824c005490e7ae79f64e873e1bd6c92
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/SparseTensorUtils.h
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
    M mlir/test/Dialect/SparseTensor/conversion_sparse2dense.mlir

  Log Message:
  -----------
  [mlir][sparse] adding OverheadType::kIndex

Depends On D115008

This change opens the way for D115012, and removes some corner cases in `CodegenUtils.cpp`. The `SparseTensorAttrDefs.td` already specifies that we allow `0` bitwidth for the two overhead types and that it is interpreted to mean the architecture's native width.

Reviewed By: aartbik

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




More information about the All-commits mailing list