[llvm] [RegAlloc] Add register allocation anti-hints infrastructure (PR #218071)

Syadus Sefat via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 03:35:10 PDT 2026


mssefat wrote:

> If `getLastCostChange` isn't updated after anti-hints (which I don't think it is), we might not iterate all registers that meet the cost criteria after reshuffling based on anti-hints.

I have updated the implementation. When we will have a custom order, `getOrderLimit()` will now return full order limit.

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


More information about the llvm-commits mailing list