[all-commits] [llvm/llvm-project] 4463ce: [mlir][linalg] Fix memory leaks in integration tests

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Mar 15 00:08:13 PDT 2024


  Branch: refs/heads/users/matthias-springer/leak_linalg_tosa
  Home:   https://github.com/llvm/llvm-project
  Commit: 4463ce9f7bc5aea7461d7d314de51fa4ae9c3ca0
      https://github.com/llvm/llvm-project/commit/4463ce9f7bc5aea7461d7d314de51fa4ae9c3ca0
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/mmt4d.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/test-matmul-masked-vec.mlir
    M mlir/test/Integration/Dialect/Tosa/CPU/test-fully-connected.mlir

  Log Message:
  -----------
  [mlir][linalg] Fix memory leaks in integration tests

Buffers are no longer deallocation by One-Shot Bufferize. This is now done by a separate buffer deallocation pass.

Also fix a bug in the `vector.mask` folding, which was triggered by `-buffer-deallocation-pipeline`, which runs the canonicalizer.



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