[all-commits] [llvm/llvm-project] e4c374: [mlir][linalg][bufferize] Fix elementwise access o...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Apr 1 20:08:42 PDT 2024


  Branch: refs/heads/users/matthias-springer/sparse_elementwise
  Home:   https://github.com/llvm/llvm-project
  Commit: e4c3746fc09b6bad9ac0304a8d91d049d47f46b3
      https://github.com/llvm/llvm-project/commit/e4c3746fc09b6bad9ac0304a8d91d049d47f46b3
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/SparseTensor/one_shot_bufferize_tensor_copy_insertion.mlir

  Log Message:
  -----------
  [mlir][linalg][bufferize] Fix elementwise access optimization for sparse tensors

`linalg.generic` ops with sparse tensors do not necessarily bufferize to element-wise access, because insertions into a sparse tensor may change the layout of (or reallocate) the underlying sparse data structures.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list