[Mlir-commits] [mlir] cc2a614 - [MLIR][Linalg] Update filename to reflect implementation (NFC)
lorenzo chelini
llvmlistbot at llvm.org
Fri Jul 1 08:25:00 PDT 2022
Author: lorenzo chelini
Date: 2022-07-01T17:24:54+02:00
New Revision: cc2a614796cb311e65ee658200b58b14c53089a8
URL: https://github.com/llvm/llvm-project/commit/cc2a614796cb311e65ee658200b58b14c53089a8
DIFF: https://github.com/llvm/llvm-project/commit/cc2a614796cb311e65ee658200b58b14c53089a8.diff
LOG: [MLIR][Linalg] Update filename to reflect implementation (NFC)
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D128978
Added:
mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp
Modified:
mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
Removed:
mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt b/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
index cf771861ff580..82cc63bac400f 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
@@ -8,6 +8,7 @@ add_mlir_dialect_library(MLIRLinalgTransforms
DropUnitDims.cpp
ElementwiseOpFusion.cpp
ElementwiseToLinalg.cpp
+ FusePadOpWithLinalgConsumer.cpp
Fusion.cpp
FusionOnTensors.cpp
Generalization.cpp
@@ -19,7 +20,6 @@ add_mlir_dialect_library(MLIRLinalgTransforms
Loops.cpp
LinalgStrategyPasses.cpp
NamedOpConversions.cpp
- PadOpInterchange.cpp
Promotion.cpp
SparseTensorRewriting.cpp
SplitReduction.cpp
diff --git a/mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp b/mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp
similarity index 95%
rename from mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp
rename to mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp
index e8c15b1834f5a..2047344af57d0 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp
@@ -1,4 +1,4 @@
-//===- PadOpInterchange.cpp - Interchange tensor.pad with linalg producer -===//
+//===- FusePadOpWithLinalgConsumer.cpp ---- Fuse pad with linalg producer -===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements patterns that intechanges a linalg.generic -> tensor.pad
-// op chain into a tensor.extract_slice -> linalg.generic -> tensor.insert_slice
+// This file implements patterns that fuses a linalg.generic -> tensor.pad op
+// chain into a tensor.extract_slice -> linalg.generic -> tensor.insert_slice
// op chain.
//
//===----------------------------------------------------------------------===//
More information about the Mlir-commits
mailing list