[Mlir-commits] [mlir] 70eb3bf - [mlir-reduce] Fix the grammer in the doc

Chia-hung Duan llvmlistbot at llvm.org
Thu Jul 8 17:14:11 PDT 2021


Author: Chia-hung Duan
Date: 2021-07-09T08:01:35+08:00
New Revision: 70eb3bfff0ac8c882d793cc171e1230cf313b49d

URL: https://github.com/llvm/llvm-project/commit/70eb3bfff0ac8c882d793cc171e1230cf313b49d
DIFF: https://github.com/llvm/llvm-project/commit/70eb3bfff0ac8c882d793cc171e1230cf313b49d.diff

LOG: [mlir-reduce] Fix the grammer in the doc

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D105623

Added: 
    

Modified: 
    mlir/docs/Tools/mlir-reduce.md

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Tools/mlir-reduce.md b/mlir/docs/Tools/mlir-reduce.md
index eb38d7222e4f..44d47d9a82bd 100644
--- a/mlir/docs/Tools/mlir-reduce.md
+++ b/mlir/docs/Tools/mlir-reduce.md
@@ -20,18 +20,18 @@ then `mlir-reduce` will do the remining works for you.
 
 ## How to Use it
 
-`mlir-reduce` adopts reduction-tree algorithm to reduce the input. it generates
-several reduced outputs and do the further reduction in between them according
+`mlir-reduce` adopts the reduction-tree algorithm to reduce the input. It
+generates several reduced outputs and further reduces in between them according
 to the tree traversal strategy. The 
diff erent strategies may lead to 
diff erent
-result and 
diff erent time complexity. You can run as
+results and 
diff erent time complexity. You can run as
 `-reduction-tree='traversal-mode=0'` to select the mode for example.
 
-### Write the script for testing interesting
+### Write the script for testing interestingness
 
-As mentioned, you need to provide a command to specify `mlir-reduce` which case
-you're interesting. 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,
+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,
 
 ```shell
 mlir-opt -convert-vector-to-spirv $1 | grep "failed to materialize"


        


More information about the Mlir-commits mailing list