vitalybuka wrote:

`MLIRCIRTargetLowering` is a lower-level library linked into
`MLIRCIRTransforms`, whereas `clang/CIR/Dialect/Passes.h` declares pass
entrypoints for `MLIRCIRTransforms` and includes the generated
`clang/CIR/Dialect/Passes.h.inc` (`MLIRCIRPassIncGen`).

Including `clang/CIR/Dialect/Passes.h` from
`TargetLowering/CIRABIRewriteContext.h` for `cir::CallConvTarget` breaks
that layering and fails the build when `CIRABIRewriteContext.cpp` is
compiled before `MLIRCIRPassIncGen` runs:

https://lab.llvm.org/buildbot/#/builders/sanitizer-windows

Please fix or revert.



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

Reply via email to