[clang] [CIR] Add missing MLIR build dependencies. (PR #234483)

Mark Cianciosa via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 22 14:58:39 PDT 2026


https://github.com/cianciosa updated https://github.com/llvm/llvm-project/pull/234483

>From c45430f7e9d4fc6e93323a4629b49ab5ca682df3 Mon Sep 17 00:00:00 2001
From: Cianciosa <cianciosamr at ornl.gov>
Date: Thu, 22 Oct 2026 00:10:43 -0400
Subject: [PATCH] Add missing MLIR build dependencies.

---
 clang/lib/CIR/FrontendAction/CMakeLists.txt | 2 ++
 clang/lib/CIR/Lowering/CMakeLists.txt       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/clang/lib/CIR/FrontendAction/CMakeLists.txt b/clang/lib/CIR/FrontendAction/CMakeLists.txt
index f83e5b04b9ada..b54c1d540cca7 100644
--- a/clang/lib/CIR/FrontendAction/CMakeLists.txt
+++ b/clang/lib/CIR/FrontendAction/CMakeLists.txt
@@ -16,6 +16,8 @@ add_clang_library(clangCIRFrontendAction
   MLIRBuiltinLocationAttributesIncGen
   MLIRBytecodeOpInterfaceIncGen
   MLIRBuiltinOpsIncGen
+  MLIRBuiltinTypeInterfacesIncGen
+  MLIROpAsmDialectInterfaceIncGen
 
   LINK_LIBS
   clangAST
diff --git a/clang/lib/CIR/Lowering/CMakeLists.txt b/clang/lib/CIR/Lowering/CMakeLists.txt
index 93ca5436d96f9..02dd1a3376984 100644
--- a/clang/lib/CIR/Lowering/CMakeLists.txt
+++ b/clang/lib/CIR/Lowering/CMakeLists.txt
@@ -10,6 +10,8 @@ add_clang_library(clangCIRLoweringCommon
   DEPENDS
   MLIRBuiltinLocationAttributesIncGen
   MLIRBytecodeOpInterfaceIncGen
+  MLIRBuiltinTypeInterfacesIncGen
+  MLIROpAsmDialectInterfaceIncGen
 
   LINK_LIBS
   clangCIR



More information about the cfe-commits mailing list