[llvm] [CodeGen] Expose the extensibility of PassConfig to plugins (PR #139059)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu May  8 04:02:27 PDT 2025
    
    
  
================
@@ -119,6 +119,9 @@ addPassesToGenerateCode(CodeGenTargetMachineImpl &TM, PassManagerBase &PM,
   PM.add(PassConfig);
   PM.add(&MMIWP);
 
+  for (auto& C : *TargetMachine::TargetPassConfigCallbacks)
----------------
arsenm wrote:
no auto (and no &?)
https://github.com/llvm/llvm-project/pull/139059
    
    
More information about the llvm-commits
mailing list