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

Kieran B via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 01:52:01 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 &&
----------------
kieroxide wrote:

Yes I will create github issue for this.

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


More information about the llvm-commits mailing list