alexander-shaposhnikov added a comment. @tejohnson - the legacy pass manager depends on the interface defined in IRPrintingPasses.h (https://github.com/llvm/llvm-project/blob/main/llvm/lib/IR/LegacyPassManager.cpp#L266) so without splitting this would face the same issue - circular dependency between LLVMCore (LegacyPassManager.cpp is in LLVMCore) and IRPrinter.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D138081/new/ https://reviews.llvm.org/D138081 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits