llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Vitaly Buka (vitalybuka) <details> <summary>Changes</summary> #<!-- -->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 --- Full diff: https://github.com/llvm/llvm-project/pull/244975.diff 1 Files Affected: - (modified) clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt (+1) ``````````diff diff --git a/clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt b/clang/lib/CIR/Dialect/Transforms/TargetLowering/CMakeLists.txt index b8799b4454fa6..f40df513bd238 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 `````````` </details> https://github.com/llvm/llvm-project/pull/244975 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
