[llvm] [NewPM][CodeGen] add TargetPassConfig like API (PR #70906)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 15:21:02 PST 2024
================
@@ -735,6 +746,9 @@ class PassBuilder {
MachineFunctionAnalysisRegistrationCallbacks;
SmallVector<std::function<bool(StringRef, MachineFunctionPassManager &)>, 2>
MachinePipelineParsingCallbacks;
+ SmallVector<
+ std::function<bool(StringRef, MachineFunctionPassManager &, bool)>, 2>
+ RegAllocPassParsingCallbacks;
----------------
paperchalice wrote:
AMDGPU and RISCV, all regalloc passes are derived from `RegisterRegAllocBase`.
https://github.com/llvm/llvm-project/pull/70906
More information about the llvm-commits
mailing list