[clang] [flang] [llvm] [TargetVerifier][AMDGPU] Add TargetVerifier. (PR #123609)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 29 10:58:57 PDT 2025


================
@@ -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


More information about the cfe-commits mailing list