[Mlir-commits] [mlir] fbd6ac3 - [MLIR][shard] Fix tblgen description of `shard.neighbors_linear_indices` (#163409)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Oct 15 02:48:09 PDT 2025
Author: Shenghang Tsai
Date: 2025-10-15T17:48:04+08:00
New Revision: fbd6ac3596528e69b57a89796f168a453bcfa788
URL: https://github.com/llvm/llvm-project/commit/fbd6ac3596528e69b57a89796f168a453bcfa788
DIFF: https://github.com/llvm/llvm-project/commit/fbd6ac3596528e69b57a89796f168a453bcfa788.diff
LOG: [MLIR][shard] Fix tblgen description of `shard.neighbors_linear_indices` (#163409)
This PR fixed an issue where inline code blocks in the ODS description of `shard.neighbors_linear_indices` were not properly closed.
Added:
Modified:
mlir/include/mlir/Dialect/Shard/IR/ShardOps.td
Removed:
################################################################################
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`.
More information about the Mlir-commits
mailing list