From 19caff444d2e6fc35942fb4cf6b8213d17557fbd Mon Sep 17 00:00:00 2001 From: "forking-google-bazel-bot[bot]" <265904573+forking-google-bazel-bot[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 13:56:50 -0700 Subject: [PATCH] [Bazel] Fixes b6e4d27 (#189473) This fixes b6e4d27c485af711214b3dafc96fa287e2fe33f6. Co-authored-by: Google Bazel Bot --- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 13 +++++++++++++ .../llvm-project-overlay/mlir/unittests/BUILD.bazel | 2 ++ 2 files changed, 15 insertions(+) diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index 297147567309..cfd990b31aa8 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -4418,6 +4418,7 @@ cc_library( ":LoopLikeInterface", ":MemRefDialect", ":MemorySlotInterfaces", + ":MemorySlotUtils", ":ParallelCombiningOpInterface", ":SCFDeviceMappingInterfacesIncGen", ":SCFIncGen", @@ -4470,6 +4471,17 @@ cc_library( ], ) +cc_library( + name = "MemorySlotUtils", + srcs = ["lib/Interfaces/Utils/MemorySlotUtils.cpp"], + hdrs = ["include/mlir/Interfaces/Utils/MemorySlotUtils.h"], + includes = ["include"], + deps = [ + ":IR", + "//llvm:Support", + ], +) + cc_library( name = "DataLayoutInterfaces", srcs = ["lib/Interfaces/DataLayoutInterfaces.cpp"], @@ -13212,6 +13224,7 @@ cc_library( ":MemRefOpsIncGen", ":MemoryAccessOpInterfacesIncGen", ":MemorySlotInterfaces", + ":MemorySlotUtils", ":RuntimeVerifiableOpInterface", ":ShapedOpInterfaces", ":SideEffectInterfaces", diff --git a/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel index 5af159c9dbd6..21edfa092ee0 100644 --- a/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel @@ -74,9 +74,11 @@ cc_test( "//mlir:IR", "//mlir:InferIntRangeInterface", "//mlir:InferTypeOpInterface", + "//mlir:MemorySlotUtils", "//mlir:Parser", "//mlir:SideEffectInterfaces", "//mlir:Support", + "//mlir/test:TestDialect", "//third-party/unittest:gtest", "//third-party/unittest:gtest_main", ],