[Mlir-commits] [mlir] 72c662a - [mlir][vector][NFC] Clean up vector gather lowering comments
Jakub Kuderski
llvmlistbot at llvm.org
Thu Mar 30 14:13:45 PDT 2023
Author: Jakub Kuderski
Date: 2023-03-30T17:13:14-04:00
New Revision: 72c662a47f101712c203de782da34029d29e081f
URL: https://github.com/llvm/llvm-project/commit/72c662a47f101712c203de782da34029d29e081f
DIFF: https://github.com/llvm/llvm-project/commit/72c662a47f101712c203de782da34029d29e081f.diff
LOG: [mlir][vector][NFC] Clean up vector gather lowering comments
These got relocated recently.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D147257
Added:
Modified:
mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h b/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
index e0bac15d78fc..e95c95516c12 100644
--- a/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
+++ b/mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
@@ -236,7 +236,7 @@ void populateVectorScanLoweringPatterns(RewritePatternSet &patterns,
///
/// [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
index dc10cb6278cb..152aefa65eff 100644
--- 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.
//
//===----------------------------------------------------------------------===//
More information about the Mlir-commits
mailing list