[llvm] [bazel] Make CAPIIR depend on TransformsPassIncGen (PR #174902)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 7 19:07:02 PST 2026


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/174902

CAPIIR includes this in some of its source files, so we need to ensure the header is around.

>From 46a39cea5d7db15b1cfede622c63f1c7d87c9ecd Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Thu, 8 Jan 2026 03:05:57 +0000
Subject: [PATCH] [bazel] Make CAPIIR depend on TransformsPassIncGen

CAPIIR includes this in some of its source files, so we need to ensure
the header is around.
---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 5144a385ca69f..9f67ea51aabbd 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -518,6 +518,7 @@ mlir_c_api_cc_library(
         ":IRDLDialect",
         ":InferTypeOpInterface",
         ":Parser",
+        ":TransformsPassIncGen",
     ],
 )
 



More information about the llvm-commits mailing list