Skip to content

Commit 72c662a

Browse files
committed
[mlir][vector][NFC] Clean up vector gather lowering comments
These got relocated recently. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D147257
1 parent f03f811 commit 72c662a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void populateVectorScanLoweringPatterns(RewritePatternSet &patterns,
236236
///
237237
/// [FlattenGather]
238238
/// Flattens 2 or more dimensional `vector.gather` ops by unrolling the
239-
/// outermost dimension. For example:
239+
/// outermost dimension.
240240
///
241241
/// [Gather1DToConditionalLoads]
242242
/// Turns 1-d `vector.gather` into a scalarized sequence of `vector.loads` or

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- LowerVectorScam.cpp - Lower 'vector.scan' operation ----------------===//
1+
//===- LowerVectorGather.cpp - Lower 'vector.gather' operation ------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// This file implements target-independent rewrites and utilities to lower the
10-
// 'vector.scan' operation.
10+
// 'vector.gather' operation.
1111
//
1212
//===----------------------------------------------------------------------===//
1313

0 commit comments

Comments
 (0)