[Mlir-commits] [mlir] [mlir][bufferization] Introduce reconcileBufferTypeMismatchFn hook (PR #202667)
Matthias Springer
llvmlistbot at llvm.org
Thu Jun 11 02:30:39 PDT 2026
================
@@ -364,6 +372,13 @@ struct BufferizationOptions {
DefaultMemorySpaceFn defaultMemorySpaceFn =
[](TensorLikeType t) -> std::optional<Attribute> { return Attribute(); };
+ /// Hook to reconcile two buffer types that were independently inferred for
+ /// the same bufferized value (e.g. init_arg vs. yielded value in `scf.for`,
----------------
matthias-springer wrote:
nit: technically, these are not the same SSA values. Maybe you can rephrase and use the term "join"/"join point"/"merge point" somehow. As in "join" in a dataflow analysis.
https://github.com/llvm/llvm-project/pull/202667
More information about the Mlir-commits
mailing list