[all-commits] [llvm/llvm-project] 22d6b7: [mlir][sparse_tensor] Implement bufferization inte...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Mar 13 22:42:37 PDT 2024


  Branch: refs/heads/users/matthias-springer/sparse_foreach_bufferization
  Home:   https://github.com/llvm/llvm-project
  Commit: 22d6b76630f147fa9d87a8e6f1d74fa91a7a7b65
      https://github.com/llvm/llvm-project/commit/22d6b76630f147fa9d87a8e6f1d74fa91a7a7b65
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

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

  Log Message:
  -----------
  [mlir][sparse_tensor] Implement bufferization interface for `foreach`

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