[Mlir-commits] [mlir] [MLIR] Fix Markdown docs of `shard.neighbors_linear_indices` (PR #163409)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Oct 14 07:49:03 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Shenghang Tsai (jackalcooper)

<details>
<summary>Changes</summary>

<img width="889" height="138" alt="image" src="https://github.com/user-attachments/assets/5a907cd7-beed-4a03-9d5e-43ec594d1e04" />


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


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/Shard/IR/ShardOps.td (+1-1) 


``````````diff
diff --git a/mlir/include/mlir/Dialect/Shard/IR/ShardOps.td b/mlir/include/mlir/Dialect/Shard/IR/ShardOps.td
index 29b384f401876..b9d7163ea4c1e 100644
--- a/mlir/include/mlir/Dialect/Shard/IR/ShardOps.td
+++ b/mlir/include/mlir/Dialect/Shard/IR/ShardOps.td
@@ -174,7 +174,7 @@ def Shard_NeighborsLinearIndicesOp : Shard_Op<"neighbors_linear_indices", [
     ```
     The above returns two indices, `633` and `693`, which correspond to the
     index of the previous process `(1, 1, 3)`, and the next process 
-    `(1, 3, 3) along the split axis `1`.
+    `(1, 3, 3)` along the split axis `1`.
 
     A negative value is returned if there is no neighbor in the respective
     direction along the given `split_axes`.

``````````

</details>


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


More information about the Mlir-commits mailing list