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

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


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

fix #180640

>From a1748bc19e4ff9b29ba44514c9029860aebf99d1 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..14ce745fdead9 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": [
@@ -14033,6 +14043,7 @@ cc_library(
         ":IR",
         ":Pass",
         ":ReducerIncGen",
+        ":DialectReductionPatternInterfaceIncGen",
         ":Rewrite",
         ":TransformUtils",
         "//llvm:Support",



More information about the llvm-commits mailing list