[llvm] [CodeGen][NewPM] Port RegAllocEvictionAdvisor analysis to NPM (PR #117309)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 10:28:44 PST 2024
arsenm wrote:
> OK, and to confirm, the RFC for that is the one I referenced?
Yes, @paperchalice picked up those patches a while ago.
> What I'm trying to understand is how the design is expected to evolve. Is the current patch a crutch that enables then making RAGreedy NPM-enabled, and then we can drop the need for legacy support from the Regalloc advisor,
It's the same as porting IR passes to new PM. Both NewPM and legacy pass manager paths will need to coexist for the foreseeable future. So for now this is just additive, but someday the OldPM path will be deleted.
> basically end up with the same number of concepts we have today (i.e. before the current patch), but in NPM "terms"?
Yes
https://github.com/llvm/llvm-project/pull/117309
More information about the llvm-commits
mailing list