diff --git a/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h b/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h --- a/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h +++ b/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h @@ -236,7 +236,7 @@ /// /// [FlattenGather] /// Flattens 2 or more dimensional `vector.gather` ops by unrolling the -/// outermost dimension. For example: +/// outermost dimension. /// /// [Gather1DToConditionalLoads] /// Turns 1-d `vector.gather` into a scalarized sequence of `vector.loads` or diff --git a/mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp b/mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp --- a/mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp +++ b/mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp @@ -1,4 +1,4 @@ -//===- LowerVectorScam.cpp - Lower 'vector.scan' operation ----------------===// +//===- LowerVectorGather.cpp - Lower 'vector.gather' operation ------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // // This file implements target-independent rewrites and utilities to lower the -// 'vector.scan' operation. +// 'vector.gather' operation. // //===----------------------------------------------------------------------===//