[Mlir-commits] [mlir] [NFC][mlir][bufferization] Remove getMemRefType() helper (PR #199034)

Matthias Springer llvmlistbot at llvm.org
Wed Jun 3 02:21:21 PDT 2026


================
@@ -1006,7 +983,7 @@ FailureOr<BufferLikeType> bufferization::detail::defaultGetBufferType(
     return op->emitError("could not infer memory space");
 
   return cast<BufferLikeType>(
-      getMemRefType(tensorType, options, /*layout=*/{}, *memSpace));
+      options.unknownTypeConverterFn(tensorType, *memSpace, options));
----------------
matthias-springer wrote:

Oh, I missed that. Then no change is needed here.

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


More information about the Mlir-commits mailing list