[Mlir-commits] [mlir] 7fc4518 - [MLIR] Rename FusePadOpWithLinalgConsumer -> FusePadOpWithLinalgProducer (NFC)

lorenzo chelini llvmlistbot at llvm.org
Sat Jul 2 02:03:15 PDT 2022


Author: lorenzo chelini
Date: 2022-07-02T11:01:50+02:00
New Revision: 7fc4518f4a70fd99460c941480a7fc521f97a7e7

URL: https://github.com/llvm/llvm-project/commit/7fc4518f4a70fd99460c941480a7fc521f97a7e7
DIFF: https://github.com/llvm/llvm-project/commit/7fc4518f4a70fd99460c941480a7fc521f97a7e7.diff

LOG: [MLIR] Rename FusePadOpWithLinalgConsumer -> FusePadOpWithLinalgProducer (NFC)

Follow up after D128978, where I mistakenly rename the file. The linalg op is
fused with its producer, not the consumer.

Added: 
    mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgProducer.cpp

Modified: 
    mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt

Removed: 
    mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp


################################################################################
diff  --git a/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt b/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
index 82cc63bac400f..d6f4061a71785 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
@@ -8,7 +8,7 @@ add_mlir_dialect_library(MLIRLinalgTransforms
   DropUnitDims.cpp
   ElementwiseOpFusion.cpp
   ElementwiseToLinalg.cpp
-  FusePadOpWithLinalgConsumer.cpp
+  FusePadOpWithLinalgProducer.cpp
   Fusion.cpp
   FusionOnTensors.cpp
   Generalization.cpp

diff  --git a/mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp b/mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgProducer.cpp
similarity index 98%
rename from mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp
rename to mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgProducer.cpp
index 2047344af57d0..ad33ff3bf522b 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgConsumer.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/FusePadOpWithLinalgProducer.cpp
@@ -1,4 +1,4 @@
-//===- FusePadOpWithLinalgConsumer.cpp ---- Fuse pad with linalg producer -===//
+//===- FusePadOpWithLinalgProducer.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.


        


More information about the Mlir-commits mailing list