[Mlir-commits] [mlir] [mlir][bufferization] Introduce reconcileBufferTypeMismatchFn hook (PR #202667)

Matthias Springer llvmlistbot at llvm.org
Thu Jun 11 02:30:39 PDT 2026


================
@@ -59,19 +58,18 @@ struct OpWithUnstructuredControlFlowBufferizableOpInterfaceExternalModel
         continue;
 
       // Compute the bufferized type of the forwarded operand.
-      BaseMemRefType callerType;
+      BufferLikeType callerType;
       if (auto memrefType =
               dyn_cast<BaseMemRefType>(opOperand->get().getType())) {
----------------
matthias-springer wrote:

dyn_cast to `BufferLikeType` here. I think the unstructured CF handling is not specific to memref.

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


More information about the Mlir-commits mailing list