nicolasvasilache wrote: Let's please revert this and not reinvent the wheel in every client. Please use and/or improve `bool isLastMemrefDimUnitStride(MemRefType type);` from BuiltinTypes.h. https://github.com/llvm/llvm-project/pull/76848