diff --git a/mlir/docs/Tutorials/Toy/Ch-5.md b/mlir/docs/Tutorials/Toy/Ch-5.md --- a/mlir/docs/Tutorials/Toy/Ch-5.md +++ b/mlir/docs/Tutorials/Toy/Ch-5.md @@ -297,8 +297,8 @@ Our naive lowering is correct, but it leaves a lot to be desired with regards to efficiency. For example, the lowering of `toy.mul` has generated some redundant loads. Let's look at how adding a few existing optimizations to the pipeline can -help clean this up. Adding the `LoopFusion` and `MemRefDataFlowOpt` passes to -the pipeline gives the following result: +help clean this up. Adding the `LoopFusion` and `AffineScalarReplacement` passes +to the pipeline gives the following result: ```mlir func.func @main() {