[llvm] [bazel] fix #180640 (PR #181724)

Yi Zhang via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 16 11:11:15 PST 2026


https://github.com/cathyzhyi updated https://github.com/llvm/llvm-project/pull/181724

>From 73d10c53d7265c75bfb14154d8fe38b7b58be62c Mon Sep 17 00:00:00 2001
From: Yi Zhang <cathyzhyi at google.com>
Date: Mon, 16 Feb 2026 14:06:51 -0500
Subject: [PATCH] [bazel] fix #180640

fix #180640
---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index c5083b4855c93..02febbf1c5e2e 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -14010,6 +14010,16 @@ cc_library(
     ],
 )
 
+gentbl_cc_library(
+    name = "DialectReductionPatternInterfaceIncGen",
+    tbl_outs = {
+        "include/mlir/Reducer/DialectReductionPatternInterface.h.inc": ["-gen-dialect-interface-decls"],
+    },
+    tblgen = ":mlir-tblgen",
+    td_file = "include/mlir/Reducer/DialectReductionPatternInterface.td",
+    deps = [":OpBaseTdFiles"],
+)
+
 gentbl_cc_library(
     name = "ReducerIncGen",
     tbl_outs = {"include/mlir/Reducer/Passes.h.inc": [
@@ -14030,6 +14040,7 @@ cc_library(
     hdrs = glob(["include/mlir/Reducer/*.h"]),
     includes = ["include"],
     deps = [
+        ":DialectReductionPatternInterfaceIncGen",
         ":IR",
         ":Pass",
         ":ReducerIncGen",



More information about the llvm-commits mailing list