[Mlir-commits] [mlir] [mlir][bufferization] Support custom types at function boundaries (PR #159766)
Matthias Springer
llvmlistbot at llvm.org
Wed Sep 24 01:13:37 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
----------------
matthias-springer wrote:
nit: Let's not use the term "type converter" here because that has a different meaning in a dialect conversion. I'd rephrase as "the type is converted to...". Or just write "type conversion" instead of "type converter".
https://github.com/llvm/llvm-project/pull/159766
More information about the Mlir-commits
mailing list