[all-commits] [llvm/llvm-project] a27d88: [mlir][linalg][bufferize] Fix element-wise access ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Apr 2 17:57:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a27d886ce4cc8be8f67a8331c400d6fe2a273ebd
      https://github.com/llvm/llvm-project/commit/a27d886ce4cc8be8f67a8331c400d6fe2a273ebd
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-04-03 (Wed, 03 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 element-wise access optimization for sparse tensors (#87305)

`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