[all-commits] [llvm/llvm-project] 6ed4d1: [mlir][sparse_tensor] Implement bufferization inte...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Mar 14 21:28:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ed4d15cf49bca27157c6c8c896a7f674ef5df3a
      https://github.com/llvm/llvm-project/commit/6ed4d15cf49bca27157c6c8c896a7f674ef5df3a
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

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

  Log Message:
  -----------
  [mlir][sparse_tensor] Implement bufferization interface for `foreach` (#85183)

This commit fixes a memory leak in `sparse_codegen_foreach.mlir`. The
bufferization inserted a copy for the operand of `sparse_tensor.foreach`
because it conservatively assumed that the op writes to the operand.



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