[llvm] [AMDGPU] Register allocation anti-hints to reduce MFMA hazard NOPs (PR #156943)

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 16 16:54:27 PST 2026


qcolombet wrote:

> Hi @qcolombet, the intention is to de-priotize the registers (anti-hinted) rather than removing them from the allocation order. The AllocationOrder::applyAntiHints function does not remove registers from the allocation order. It reorder the allocation order so that anti-hinted registers are moved to the end of the order. I can rename this function to something like applyRegisterDeprioritization or applySoftAntiHints if the current naming causes confusion. Please let me know if that would address your concern.

Yes it doesn't.

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


More information about the llvm-commits mailing list