================ @@ -172,6 +172,13 @@ class PassBuilder { /// additional analyses. void registerLoopAnalyses(LoopAnalysisManager &LAM); + /// Registers all available verifier passes. + /// + /// This is an interface that can be used to populate a + /// \c ModuleAnalysisManager with all registered loop analyses. Callers can + /// still manually register any additional analyses. + void registerVerifierPasses(ModulePassManager &PM, FunctionPassManager &); ---------------- shiltian wrote:
I don't understand why you need both module and function pass manager here. https://github.com/llvm/llvm-project/pull/123609 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits