[llvm] [mlir:x86vector:transform] Fix bazel build (again) after #168074. (PR #169316)

Ingo Müller via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 03:06:38 PST 2025


https://github.com/ingomueller-net created https://github.com/llvm/llvm-project/pull/169316

This is a second attempt to fix the bazel build (after the first in #169294, which was accidentally merged before CI passed). In the first attempt, not all bazel dependencies had been added; this PR should add them all and make CI pass.

>From 802cdf97b42d7a0b74b3539f85b98527de5fd732 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ingo=20M=C3=BCller?= <ingomueller at google.com>
Date: Mon, 24 Nov 2025 11:04:04 +0000
Subject: [PATCH] [mlir:x86vector:transform] Fix bazel build (again) after
 #168074.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This is a second attempt to fix the bazel build (after the first in
 #169294, which was accidentally merged before CI passed). In the first
 attempt, not all bazel dependencies had been added; this PR should add
 them all and make CI pass.

Signed-off-by: Ingo Müller <ingomueller at google.com>
---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index b7fe0fa898c21..0aed6f9b82922 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -2610,8 +2610,14 @@ cc_library(
     hdrs = glob(["include/mlir/Dialect/X86Vector/TransformOps/*.h"]),
     includes = ["include"],
     deps = [
+        ":IR",
+        ":LLVMCommonConversion",
+        ":LLVMDialect",
+        ":RegionKindInterface",
         ":TransformDialect",
+        ":TransformDialectInterfaces",
         ":VectorDialect",
+        ":X86VectorDialect",
         ":X86VectorTransformOpsIncGen",
         ":X86VectorTransforms",
     ],
@@ -2628,6 +2634,9 @@ cc_library(
         ":LLVMCommonConversion",
         ":LLVMDialect",
         ":LinalgDialect",
+        ":LinalgInterfaces",
+        ":Pass",
+        ":TransformUtils",
         ":VectorDialect",
         ":VectorUtils",
         ":X86VectorDialect",



More information about the llvm-commits mailing list