[Mlir-commits] [mlir] [mlir][bufferization] Support custom types at function boundaries (PR #159766)

Andrei Golubev llvmlistbot at llvm.org
Wed Sep 24 02:48:29 PDT 2025


================
@@ -335,10 +335,12 @@ struct BufferizationOptions {
   /// predictable.
   void setFunctionBoundaryTypeConversion(LayoutMapOption layoutMapOption);
 
-  /// Type converter from tensors to memrefs. This type converter is used to
-  /// determine bufferized function argument and result types. By default, a
-  /// type converter that returns a memref type with a fully dynamic layout map
-  /// is used.
+  /// Type converter from tensors to buffers. This type converter is used to
+  /// determine bufferized function argument and result types.
+  ///
+  /// By default, if tensor is a (builtin) tensor type, a type converter that
----------------
andrey-golubev wrote:

changed to "type conversion".  also for `UnknownTypeConverterFn`.

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


More information about the Mlir-commits mailing list