https://github.com/vitalybuka created 
https://github.com/llvm/llvm-project/pull/244975

#244116 added `#include "clang/CIR/Dialect/Passes.h"` to
`CIRABIRewriteContext.h`, which includes the generated
`clang/CIR/Dialect/Passes.h.inc`. Add `MLIRCIRPassIncGen` to `DEPENDS`
for `MLIRCIRTargetLowering` so the header is generated before compiling
`CIRABIRewriteContext.cpp`.

Fixes build failure on 
https://lab.llvm.org/buildbot/#/builders/sanitizer-windows.

Assisted-by: Gemini

>From 67f78dfb853be9600a60bf9fe649f57266e3b52b Mon Sep 17 00:00:00 2001
From: Vitaly Buka <[email protected]>
Date: Sat, 21 Nov 2026 16:34:03 -0800
Subject: [PATCH] [spr] update

Created using spr 2.0.0-beta.2
---
 clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt 
b/clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt
index b8799b4454fa61..f40df513bd2380 100644
--- a/clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt
+++ b/clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt
@@ -11,6 +11,7 @@ add_clang_library(MLIRCIRTargetLowering
 
   DEPENDS
   clangBasic
+  MLIRCIRPassIncGen
   mlir-headers
 
   LINK_COMPONENTS

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to