[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
================
@@ -72,6 +74,10 @@ namespace yaml {
struct MachineFunctionInfo;
} // namespace yaml
+class TargetMachine;
+using PassConfigCallback =
+ std::function<void(TargetMachine &, PassManagerBase &, TargetPassConfig *)>;
----------------
arsenm wrote:
function_ref?
https://github.com/llvm/llvm-project/pull/139059
More information about the llvm-commits
mailing list