[llvm] Reapply "[CodeGen][AArch64] Avoid duplicate hints in register allocation (#219007)" (#224451) (PR #224742)
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 15:46:46 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;
----------------
nickdesaulniers wrote:
At that point, I might as well just skip ahead to the interface rewrite (WIP: https://github.com/llvm/llvm-project/pull/224472/changes/5bc5d83984e82cbecac5c88fe0b3708a21cd7133) since changes to llvm/lib/CodeGen/TargetRegisterInfo.cpp in this PR are about to get replaced imminently by that PR.
And I wouldn't consider such a change as NFC.
https://github.com/llvm/llvm-project/pull/224742
More information about the llvm-commits
mailing list