[Mlir-commits] [mlir] [MLIR][Bufferization] BufferResultsToOutParams: Add option to add attribute to output arguments (PR #84320)

Matthias Springer llvmlistbot at llvm.org
Wed Mar 13 20:40:32 PDT 2024


================
@@ -0,0 +1,18 @@
+// RUN: mlir-opt -p 'builtin.module(buffer-results-to-out-params{add-result-attr})' -split-input-file -verify-diagnostics %s | FileCheck %s
+
+// CHECK-LABEL: basic
+// CHECK-SAME:  memref<f32> {bufferize.result})
----------------
matthias-springer wrote:

nit: I'd write this as `CHECK-LABEL: @basic({{.*}} : memref<f32> {bufferize.result})` for better readability.

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


More information about the Mlir-commits mailing list