[Mlir-commits] [mlir] 179f01b - Fix MLIR Transform Tutorial Doc (#155285)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Sep 12 07:48:31 PDT 2025


Author: Brandon Kirincich
Date: 2025-09-12T15:48:27+01:00
New Revision: 179f01b800e29b38f7d97c043ff331d4f202a12a

URL: https://github.com/llvm/llvm-project/commit/179f01b800e29b38f7d97c043ff331d4f202a12a
DIFF: https://github.com/llvm/llvm-project/commit/179f01b800e29b38f7d97c043ff331d4f202a12a.diff

LOG: Fix MLIR Transform Tutorial Doc (#155285)

Fixes a small issue I noticed while reading through the tutorial.

Added: 
    

Modified: 
    mlir/docs/Tutorials/transform/Ch0.md

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Tutorials/transform/Ch0.md b/mlir/docs/Tutorials/transform/Ch0.md
index dc4b753f98caa..0d7a70364742d 100644
--- a/mlir/docs/Tutorials/transform/Ch0.md
+++ b/mlir/docs/Tutorials/transform/Ch0.md
@@ -134,7 +134,7 @@ Furthermore, the operation now contains a region that explicitly specifies the m
 
 ## “Loop” Fusion
 
-Since the region of the `linalg.generic` operation can contain arbitrarily many operations, we can use it to express “fusion” of the implicit loops by simply having more operations chained in the region. For example, the common machine learning rectified linear unit layer (ReLU), which can be defined as `relu(x) = max(0, x)`, can be defined be expressed using the “compare-and-select” idiom in one `linalg.generic` operation, without the temporary buffer for the comparison result and without repeating the outer operation:
+Since the region of the `linalg.generic` operation can contain arbitrarily many operations, we can use it to express “fusion” of the implicit loops by simply having more operations chained in the region. For example, the common machine learning rectified linear unit layer (ReLU), which can be defined as `relu(x) = max(0, x)`, can be expressed using the “compare-and-select” idiom in one `linalg.generic` operation, without the temporary buffer for the comparison result and without repeating the outer operation:
 
 ```mlir
 linalg.generic {


        


More information about the Mlir-commits mailing list