================
@@ -1093,6 +1094,90 @@ void mlir::affine::affineScalarReplace(func::FuncOp f, DominanceInfo &domInfo,
     op->erase();
 }
 
+// Private helper function to transform memref.load with reduced rank.
----------------
Lewuathe wrote:
👍 
https://github.com/llvm/llvm-project/pull/107771