[llvm] [CodeGen] Expose the extensibility of PassConfig to plugins (PR #139059)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 25 06:58:18 PDT 2025
================
@@ -119,6 +119,9 @@ addPassesToGenerateCode(CodeGenTargetMachineImpl &TM, PassManagerBase &PM,
PM.add(PassConfig);
PM.add(&MMIWP);
+ for (auto& C : *TargetMachine::TargetPassConfigCallbacks)
----------------
weliveindetail wrote:
Agree. But it's not "almost never", but https://llvm.org/docs/CodingStandards.html#use-auto-type-deduction-to-make-code-more-readable
https://github.com/llvm/llvm-project/pull/139059
More information about the llvm-commits
mailing list