[Mlir-commits] [mlir] f910aa9 - [mlir] Fix BufferizationToMemRef build.

Alexander Belyaev llvmlistbot at llvm.org
Tue Nov 30 04:11:11 PST 2021


Author: Alexander Belyaev
Date: 2021-11-30T13:10:54+01:00
New Revision: f910aa910555b563f552b2abfc172a2f97a5fb34

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

LOG: [mlir] Fix BufferizationToMemRef build.

Added: 
    

Modified: 
    mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt
    utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt b/mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt
index 9f1a12b149e6a..f228b115f9cec 100644
--- a/mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt
+++ b/mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt
@@ -9,4 +9,6 @@ add_mlir_conversion_library(MLIRBufferizationToMemRef
 
   LINK_LIBS PUBLIC
   MLIRBufferization
+  MLIRPass
+  MLIRTransforms
   )

diff  --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 3a972977f6689..834eee780b865 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -7708,17 +7708,16 @@ cc_library(
     hdrs = ["include/mlir/Dialect/Bufferization/IR/Bufferization.h"],
     includes = ["include"],
     deps = [
+        ":AllocationOpInterface",
         ":BufferizationBaseIncGen",
         ":BufferizationOpsIncGen",
         ":ControlFlowInterfaces",
         ":CopyOpInterface",
-        ":AllocationOpInterface",
-        #":DialectUtils",
         ":IR",
         ":InferTypeOpInterface",
+        ":MemRefDialect",
         ":StandardOps",
         ":TensorDialect",
-        ":MemRefDialect",
         ":ViewLikeInterface",
         "//llvm:Support",
     ],


        


More information about the Mlir-commits mailing list