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

Samarth Narang llvmlistbot at llvm.org
Mon Jun 2 13:27:28 PDT 2025


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

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

>From d21f60c3e338fd9b874236c533f6cffb45cebfcc Mon Sep 17 00:00:00 2001
From: "Narang, Samarth" <snarang at utexas.edu>
Date: Mon, 2 Jun 2025 16:26:42 -0400
Subject: [PATCH] Minor documentation fix

---
 mlir/docs/Tools/mlir-reduce.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"



More information about the Mlir-commits mailing list