[Mlir-commits] [mlir] [mlir][bufferization] Support custom types (1/N) (PR #142986)

Andrei Golubev llvmlistbot at llvm.org
Wed Jun 18 01:21:37 PDT 2025


================
@@ -267,7 +268,7 @@ struct BufferizationOptions {
   /// Tensor -> MemRef type converter.
   /// Parameters: Value, memory space, bufferization options
   using UnknownTypeConverterFn = std::function<BaseMemRefType(
-      Value, Attribute memorySpace, const BufferizationOptions &)>;
+      TensorType, Attribute memorySpace, const BufferizationOptions &)>;
----------------
andrey-golubev wrote:

I could separate this into another patch if you prefer

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


More information about the Mlir-commits mailing list