[all-commits] [llvm/llvm-project] 1c835b: [mlir][sparse] Allow the push_back operator to ski...

Bixia Zheng via All-commits all-commits at lists.llvm.org
Thu Sep 29 16:38:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c835b5a8e5622713c11205154d7bbd59bb5647b
      https://github.com/llvm/llvm-project/commit/1c835b5a8e5622713c11205154d7bbd59bb5647b
  Author: bixia1 <bixia at google.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp
    M mlir/test/Dialect/SparseTensor/buffer_rewriting.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir

  Log Message:
  -----------
  [mlir][sparse] Allow the push_back operator to skip capacity check and reallocation.

Add UnitAttr `inbounds` for this purpose.

Reviewed By: aartbik

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




More information about the All-commits mailing list