[llvm] [NFC] Remove reverse restore from epilogue for SVE registers (PR #79623)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 02:51:54 PST 2024


================
@@ -3196,9 +3196,21 @@ bool AArch64FrameLowering::restoreCalleeSavedRegisters(
     return true;
   }
 
+  SmallVector<RegPairInfo, 8> RegPairsScalable = RegPairs;
----------------
momchil-velikov wrote:

The copy here is not necessary (and `stable_sort`  may do another *pair* of copies,  sigh)

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


More information about the llvm-commits mailing list