[Mlir-commits] [mlir] [mlir][docs] Rename fusion option name in MlirOpt tutorial (PR #184635)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Mar 4 07:41:59 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Romain Paquet (rpqt)
<details>
<summary>Changes</summary>
Options have been renamed in #<!-- -->128405
---
Full diff: https://github.com/llvm/llvm-project/pull/184635.diff
1 Files Affected:
- (modified) mlir/docs/Tutorials/MlirOpt.md (+2-2)
``````````diff
diff --git a/mlir/docs/Tutorials/MlirOpt.md b/mlir/docs/Tutorials/MlirOpt.md
index e787f348bd228..83d08078bce48 100644
--- a/mlir/docs/Tutorials/MlirOpt.md
+++ b/mlir/docs/Tutorials/MlirOpt.md
@@ -131,13 +131,13 @@ module {
```
This pass has options that allow the user to configure its behavior.
-For example, the `fusion-compute-tolerance` option
+For example, the `compute-tolerance` option
is described as the "fractional increase in additional computation tolerated while fusing."
If this value is set to zero on the command line,
the pass will not fuse the loops.
```bash
-build/bin/mlir-opt --pass-pipeline="builtin.module(affine-loop-fusion{fusion-compute-tolerance=0})" \
+build/bin/mlir-opt --pass-pipeline="builtin.module(affine-loop-fusion{compute-tolerance=0})" \
mlir/test/Examples/mlir-opt/loop_fusion.mlir
```
``````````
</details>
https://github.com/llvm/llvm-project/pull/184635
More information about the Mlir-commits
mailing list