[llvm] [AArch64] Reorder ZPR stack spills to maximize ld1b/st1b pairings (PR #218950)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 01:44:52 PDT 2026


================
@@ -1828,7 +1828,7 @@ void computeCalleeSaveRegisterPairs(const AArch64FrameLowering &AFL,
       case RegPairInfo::PPR:
         break;
       case RegPairInfo::ZPR:
-        if (AFI->getPredicateRegForFillSpill() != 0 &&
+        if (!NeedsWinCFI && AFI->getPredicateRegForFillSpill() != 0 &&
----------------
CarolineConcatto wrote:

Probably we should fix this in another PR. I would not mix different goals in the same PR. 

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


More information about the llvm-commits mailing list