[llvm] Reapply "[CodeGen][AArch64] Avoid duplicate hints in register allocation (#219007)" (#224451) (PR #224742)
Tomer Shafir via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 00:53:19 PDT 2026
================
@@ -1260,8 +1260,7 @@ bool AArch64RegisterInfo::getRegAllocationHints(
return ConsiderOnlyHints;
if (!ST.hasSME() || !ST.isStreaming())
- return TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF,
- VRM);
+ return ConsiderOnlyHints;
----------------
tomershafir wrote:
AFAIU once we fix the base class then the AArch64 change effectively becomes a NFC. I just think it would make the patch clearer to isolate the change. Waiting for the API change sounds reasonable though
https://github.com/llvm/llvm-project/pull/224742
More information about the llvm-commits
mailing list