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

Matthias Springer llvmlistbot at llvm.org
Mon Apr 28 00:40:42 PDT 2025


https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/137590

None

>From 955193bc2368cb79c171cc32b5a00348769ebfa4 Mon Sep 17 00:00:00 2001
From: Matthias Springer <mspringer at nvidia.com>
Date: Mon, 28 Apr 2025 09:39:34 +0200
Subject: [PATCH] [mlir][memref] Fix memory leaks in `print-memref.mlir`

---
 mlir/test/Integration/Dialect/MemRef/print-memref.mlir | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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  \



More information about the Mlir-commits mailing list