https://github.com/krzysz00 commented: At the very least, this needs documentation updates I also don't know if this is the only place in the code where there's a relyance on the convertability of memref layouts to affine maps. https://github.com/llvm/llvm-project/pull/162757