Skip to content

Commit 66d7751

Browse files
committed
Fix typo
1 parent 29908d9 commit 66d7751

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/include/mlir/Dialect/Mesh/IR/MeshOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ def Mesh_ShiftOp : Mesh_CollectiveCommunicationOpBase<"shift", [
680680
SameOperandsAndResultElementType,
681681
SameOperandsAndResultShape
682682
]> {
683-
let summary = "Sift over a device mesh.";
683+
let summary = "Shift over a device mesh.";
684684
let description = [{
685685
Within each device group shift along mesh axis `shift_axis` by an offset
686686
`offset`.

mlir/lib/Dialect/Mesh/IR/MeshOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ LogicalResult ShiftOp::verifySymbolUses(SymbolTableCollection &symbolTable) {
720720
void ShiftOp::getCanonicalizationPatterns(RewritePatternSet &patterns,
721721
MLIRContext *context) {
722722
// TODO: remove op when offset is 0 or if it is a rotate with and
723-
// offset % sift_axis_mesh_dim_size == 0.
723+
// offset % shift_axis_mesh_dim_size == 0.
724724
}
725725

726726
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)