[Mlir-commits] [mlir] fe48ecb - Fix memory leak in mlir-cpu-runner/sgemm_naive_codegen.mlir (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sat Oct 2 16:08:13 PDT 2021
Author: Mehdi Amini
Date: 2021-10-02T23:07:49Z
New Revision: fe48ecb047fa51306412c6233e22b0d62bb59cf6
URL: https://github.com/llvm/llvm-project/commit/fe48ecb047fa51306412c6233e22b0d62bb59cf6
DIFF: https://github.com/llvm/llvm-project/commit/fe48ecb047fa51306412c6233e22b0d62bb59cf6.diff
LOG: Fix memory leak in mlir-cpu-runner/sgemm_naive_codegen.mlir (NFC)
Added:
Modified:
mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
Removed:
################################################################################
diff --git a/mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir b/mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
index bae5ed475ca87..97816f2fc742e 100644
--- a/mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
+++ b/mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
@@ -42,6 +42,9 @@ func @main() {
%flops = divf %num_flops_f, %t : f64
call @print_flops(%flops) : (f64) -> ()
+ memref.dealloc %A : memref<16x16xf32>
+ memref.dealloc %B : memref<16x16xf32>
+ memref.dealloc %C : memref<16x16xf32>
return
}
// CHECK: 17
More information about the Mlir-commits
mailing list