Skip to content

Commit d2cca0c

Browse files
committed
fixup: correct vector.matmul typo to vector.matrix_multiply
1 parent 4cc7f7d commit d2cca0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ namespace {
215215
/// ```
216216
/// %flattened_a = vector.shape_cast %a
217217
/// %flattened_b = vector.shape_cast %b
218-
/// %flattened_d = vector.matmul %flattened_a, %flattened_b
218+
/// %flattened_d = vector.matrix_multiply %flattened_a, %flattened_b
219219
/// %d = vector.shape_cast %%flattened_d
220220
/// %e = add %c, %d
221221
/// ```
222-
/// `vector.matmul` later lowers to `llvm.matrix.multiply`.
222+
/// `vector.matrix_multiply` later lowers to `llvm.matrix.multiply`.
223223
//
224224
/// This only kicks in when vectorContractLowering is set to Matmul and
225225
/// the vector.contract op is a row-major matrix multiply.
@@ -1271,12 +1271,12 @@ class OuterProductOpLowering : public OpRewritePattern<vector::OuterProductOp> {
12711271
/// %mtb = maybe_transpose
12721272
/// %flattened_a = vector.shape_cast %mta
12731273
/// %flattened_b = vector.shape_cast %mtb
1274-
/// %flattened_d = vector.matmul %flattened_a, %flattened_b
1274+
/// %flattened_d = vector.matrix_multiply %flattened_a, %flattened_b
12751275
/// %mtd = vector.shape_cast %flattened_d
12761276
/// %d = maybe_untranspose %mtd
12771277
/// %e = add %c, %d
12781278
/// ```
1279-
/// `vector.matmul` later lowers to `llvm.matrix.multiply`.
1279+
/// `vector.matrix_multiply` later lowers to `llvm.matrix.multiply`.
12801280
//
12811281
/// This only kicks in when vectorContractLowering is set to `Matmul`.
12821282
/// vector.transpose operations are inserted if the vector.contract op is not a

0 commit comments

Comments
 (0)