[Mlir-commits] [mlir] 3f335ff - [mlir][linalg] Fix FusionOnTensors header and make local method static (NFC).
Tobias Gysi
llvmlistbot at llvm.org
Thu Oct 14 07:10:51 PDT 2021
Author: Tobias Gysi
Date: 2021-10-14T14:09:38Z
New Revision: 3f335ffffe47d60623820221eb3e08f20b326cba
URL: https://github.com/llvm/llvm-project/commit/3f335ffffe47d60623820221eb3e08f20b326cba
DIFF: https://github.com/llvm/llvm-project/commit/3f335ffffe47d60623820221eb3e08f20b326cba.diff
LOG: [mlir][linalg] Fix FusionOnTensors header and make local method static (NFC).
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D111798
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp b/mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
index 0007218433210..bfac63b305860 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
@@ -1,4 +1,4 @@
-//===- Fusion.cpp - Implementation of linalg Fusion -----------------------===//
+//===- FusionOnTensors.cpp - Implementation of linalg Fusion --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -35,8 +35,8 @@ using namespace linalg;
/// producer is always possible. However, depending on the consumer indexing
/// map, not all slice elements may be consumed and the tiles may overlap. In
/// these cases, fusion introduces redundant computation.
-SmallVector<int64_t> getTiledSliceDims(OpOperand *consumerOperand,
- ArrayRef<int64_t> tiledLoopDims) {
+static SmallVector<int64_t> getTiledSliceDims(OpOperand *consumerOperand,
+ ArrayRef<int64_t> tiledLoopDims) {
// Get the consumer operand indexing map.
LinalgOp consumerOp = consumerOperand->getOwner();
AffineMap indexingMap = consumerOp.getTiedIndexingMap(consumerOperand);
More information about the Mlir-commits
mailing list