llvm-project
ff4c4997 - [mlir][bufferization] Support custom types at function boundaries (#159766)

Commit
181 days ago
[mlir][bufferization] Support custom types at function boundaries (#159766) Support custom types (3/N): allow custom tensor and buffer types in function signatures and at call-sites. This is one of the major building blocks to move in the direction of module-level one-shot-bufferization support. To achieve this, `BufferizationOptions::FunctionArgTypeConverterFn` callback is converted to work with tensor-like and buffer-like types, instead of the builtin counterparts. The default behavior for builtins remains unchanged, while custom types by default go through `TensorLikeType::getBufferType()` which is a general conversion interface.
Parents
Loading