Skip to content

Commit f02ba7e

Browse files
joker-ephaokblast
authored andcommitted
[MLIR] Fix some typos in AffineOps.td (NFC)
1 parent 160398a commit f02ba7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/include/mlir/Dialect/Affine/IR/AffineOps.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def AffineParallelOp : Affine_Op<"parallel",
714714
operand_range getUpperBoundsOperands();
715715
AffineValueMap getUpperBoundsValueMap();
716716

717-
/// Sets elements fo the loop upper bound.
717+
/// Sets elements of the loop upper bound.
718718
void setUpperBounds(ValueRange operands, AffineMap map);
719719

720720
void setSteps(ArrayRef<int64_t> newSteps);
@@ -999,7 +999,7 @@ def AffineVectorStoreOp : AffineStoreOpBase<"vector_store"> {
999999
elemental type, supplied as its second operand.
10001000
The index for each memref dimension is an affine expression of loop
10011001
induction variables and symbols. These indices determine the start position
1002-
of the write within the memref. The shape of th input vector determines the
1002+
of the write within the memref. The shape of the input vector determines the
10031003
shape of the slice written to the memref. This slice is contiguous along the
10041004
respective dimensions of the shape. Strided vector stores will be supported
10051005
in the future.
@@ -1188,7 +1188,7 @@ def AffineLinearizeIndexOp : Affine_Op<"linearize_index",
11881188
If all `N` basis elements are provided, the linearize_index operation is said to
11891189
"have an outer bound".
11901190

1191-
As a convenience, and for symmetry with `getPaddedBasis()`, ifg the first
1191+
As a convenience, and for symmetry with `getPaddedBasis()`, if the first
11921192
element of a set of `OpFoldResult`s passed to the builders of this operation is
11931193
`nullptr`, that element is ignored.
11941194

0 commit comments

Comments
 (0)