[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
Mon Sep 21 05:38:21 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:

I think it might be better to split the `AArch64RegisterInfo` change to a separate NFC patch, so this patch better isolates the main functional change and its test.

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


More information about the llvm-commits mailing list