From 7c5d654f64ceae5060132e9cc4b945a4ac60619c Mon Sep 17 00:00:00 2001 From: Geoffrey Martin-Noble Date: Fri, 2 Jul 2021 09:09:59 -0700 Subject: [PATCH] [Bazel] Fix build for c0a6318d96 This adds explicit deps to satisfy layering_check Differential Revision: https://reviews.llvm.org/D105356 --- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 3 ++- utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index b58be67..bde7fee 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -2302,6 +2302,7 @@ cc_library( ":StandardOps", ":StandardOpsTransformsPassIncGen", ":Support", + ":TensorDialect", ":Transforms", "//llvm:Support", ], @@ -6181,6 +6182,7 @@ cc_library( ]), includes = ["include"], deps = [ + ":Analysis", ":Dialect", ":IR", ":InferTypeOpInterface", @@ -6215,7 +6217,6 @@ cc_library( ":IR", ":LinalgOps", ":MathDialect", - ":MemRefDialect", ":Pass", ":StandardOps", ":TensorDialect", diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel index 8015cda..6f54302 100644 --- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel @@ -227,7 +227,6 @@ cc_library( "//mlir:Dialect", "//mlir:IR", "//mlir:InferTypeOpInterface", - "//mlir:MemRefDialect", "//mlir:Pass", "//mlir:Reducer", "//mlir:SideEffects", -- 2.7.4