[Mlir-commits] [mlir] [mlir] [docs] Minor documentation fix in `mlir-reduce` docs (PR #142479)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jun 2 13:28:11 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Samarth Narang (snarang181)

<details>
<summary>Changes</summary>

Fixes https://github.com/llvm/llvm-project/issues/142460

---
Full diff: https://github.com/llvm/llvm-project/pull/142479.diff


1 Files Affected:

- (modified) mlir/docs/Tools/mlir-reduce.md (+1-1) 


``````````diff
diff --git a/mlir/docs/Tools/mlir-reduce.md b/mlir/docs/Tools/mlir-reduce.md
index b60cdd799ba0c..224013899b440 100644
--- a/mlir/docs/Tools/mlir-reduce.md
+++ b/mlir/docs/Tools/mlir-reduce.md
@@ -31,7 +31,7 @@ results and different time complexity. You can run as
 As mentioned, you need to provide a command to `mlir-reduce` which identifies
 cases you're interested in. For each intermediate output generated during
 reduction, `mlir-reduce` will run the command over the it, the script should
-returns 1 for interesting case, 0 otherwise. The sample script,
+returns 0 for an interesting case, 1 otherwise. The sample script,
 
 ```shell
 mlir-opt -convert-vector-to-spirv $1 | grep "failed to materialize"

``````````

</details>


https://github.com/llvm/llvm-project/pull/142479


More information about the Mlir-commits mailing list