[Mlir-commits] [mlir] [mlir][bufferization] Use Type instead of Value in unknown conversion (PR #144658)

Andrei Golubev llvmlistbot at llvm.org
Wed Jun 18 02:22:15 PDT 2025


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

as a bonus: this is now aligned with `FunctionArgTypeConverterFn`

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


More information about the Mlir-commits mailing list