[llvm] [CodeGen][NewPM] Port RegAllocEvictionAdvisor analysis to NPM (PR #117309)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 24 23:24:14 PST 2024


paperchalice wrote:

> Could you explain why to avoid module analysis results?

Just want to avoid outer analysis proxy here and let machine function analysis manager manage the advisors.

> Here iiuc we need to setup the Runner and Logger once, and then can provide the advisor which needs the Module context.

If I haven't missed anything, the context here is used only for error handling, we can handle them in pass builder.


https://github.com/llvm/llvm-project/pull/117309


More information about the llvm-commits mailing list