[Mlir-commits] [mlir] 350d7e3 - [mlir][vector] remove unnecessary VectorTransformOps include

Emilio Cota llvmlistbot at llvm.org
Thu Mar 9 15:24:09 PST 2023


Author: Emilio Cota
Date: 2023-03-09T18:23:36-05:00
New Revision: 350d7e33ff09342d955c31699ce0f3e133e6bf02

URL: https://github.com/llvm/llvm-project/commit/350d7e33ff09342d955c31699ce0f3e133e6bf02
DIFF: https://github.com/llvm/llvm-project/commit/350d7e33ff09342d955c31699ce0f3e133e6bf02.diff

LOG: [mlir][vector] remove unnecessary VectorTransformOps include

While at it, add a dep that we missed in https://reviews.llvm.org/D145638.

Reviewed By: kuhar, dcaballe

Differential Revision: https://reviews.llvm.org/D145731

Added: 
    

Modified: 
    mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    mlir/test/lib/Dialect/Vector/CMakeLists.txt
    utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
index 9e9e999edf048..ef6804f5511ae 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
@@ -25,7 +25,6 @@
 #include "mlir/Dialect/Utils/IndexingUtils.h"
 #include "mlir/Dialect/Utils/StructuredOpsUtils.h"
 #include "mlir/Dialect/Vector/IR/VectorOps.h"
-#include "mlir/Dialect/Vector/TransformOps/VectorTransformOps.h"
 #include "mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h"
 #include "mlir/Dialect/Vector/Utils/VectorUtils.h"
 #include "mlir/IR/BuiltinAttributeInterfaces.h"

diff  --git a/mlir/test/lib/Dialect/Vector/CMakeLists.txt b/mlir/test/lib/Dialect/Vector/CMakeLists.txt
index 415aca5626da5..29328cc181e76 100644
--- a/mlir/test/lib/Dialect/Vector/CMakeLists.txt
+++ b/mlir/test/lib/Dialect/Vector/CMakeLists.txt
@@ -7,6 +7,7 @@ add_mlir_library(MLIRVectorTestPasses
   LINK_LIBS PUBLIC
   MLIRAffineDialect
   MLIRAnalysis
+  MLIRArithDialect
   MLIRFuncDialect
   MLIRGPUOps
   MLIRLinalgDialect

diff  --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
index 2364995d00fc9..f1672b1ddd7aa 100644
--- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
@@ -826,6 +826,7 @@ cc_library(
     deps = [
         "//mlir:AffineDialect",
         "//mlir:Analysis",
+        "//mlir:ArithDialect",
         "//mlir:FuncDialect",
         "//mlir:GPUDialect",
         "//mlir:LLVMDialect",


        


More information about the Mlir-commits mailing list