[Mlir-commits] [mlir] [mlir][bufferization] Introduce createMemRefLayoutFn hook (PR #195622)

Andrei Golubev llvmlistbot at llvm.org
Mon May 4 02:37:25 PDT 2026


https://github.com/andrey-golubev commented:

@matthias-springer this is part of the @Devjiu 's work on updating the bufferization (I am helping him out while he's on leave). Generally, we found that we need an encoding -> layout customization somewhere in the bufferization scheme - this is how this hook was born.
As of right now, it is only added to a couple of places, but from what I remember the plan is to utilize it in more places as we discover other spots where encoding loss results in invalid IR for us in downstream, etc.

As of right now I just want to agree on this general direction, refine naming, etc.

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


More information about the Mlir-commits mailing list