[llvm] [MISched] Extend overridePostRASchedPolicy to support per-function scheduling direction (PR #149297)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 18 09:47:10 PDT 2025


mshockwave wrote:

> Does overridePostRASchedPolicy really need direct access to the attribute? I'd expect the scheduler pass to directly query the attribute to select the mode

I guess you meant making this attribute a generic one so that MachineScheduler would be the one selecting the policy instead of the subtarget?

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


More information about the llvm-commits mailing list