[Mlir-commits] [mlir] [mlir][memref] Fix memory leaks in `print-memref.mlir` (PR #137590)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Apr 28 00:41:31 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-memref

@llvm/pr-subscribers-mlir

Author: Matthias Springer (matthias-springer)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/137590.diff


1 Files Affected:

- (modified) mlir/test/Integration/Dialect/MemRef/print-memref.mlir (+2-1) 


``````````diff
diff --git a/mlir/test/Integration/Dialect/MemRef/print-memref.mlir b/mlir/test/Integration/Dialect/MemRef/print-memref.mlir
index 067cb3888e6ab..b7a5dd3afccc1 100644
--- a/mlir/test/Integration/Dialect/MemRef/print-memref.mlir
+++ b/mlir/test/Integration/Dialect/MemRef/print-memref.mlir
@@ -1,6 +1,7 @@
 // RUN: mlir-opt %s \
 // RUN: -one-shot-bufferize="bufferize-function-boundaries" --canonicalize \
-// RUN:   -finalize-memref-to-llvm\
+// RUN:   -buffer-deallocation-pipeline \
+// RUN:   -finalize-memref-to-llvm \
 // RUN:   -convert-func-to-llvm -reconcile-unrealized-casts |\
 // RUN: mlir-runner \
 // RUN:  -e entry -entry-point-result=void  \

``````````

</details>


https://github.com/llvm/llvm-project/pull/137590


More information about the Mlir-commits mailing list