[llvm] [ARM] Specifically delineate between different GPRCS2 positions (PR #116716)
    Oliver Stannard via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 19 03:41:31 PST 2024
    
    
  
================
@@ -2190,9 +2213,12 @@ bool ARMFrameLowering::restoreCalleeSavedRegisters(
   auto IsDPRCS1 = [&CheckRegArea](unsigned Reg) {
     return CheckRegArea(Reg, SpillArea::DPRCS1);
   };
+  auto IsGPRCS3 = [&CheckRegArea](unsigned Reg) {
+    return CheckRegArea(Reg, SpillArea::GPRCS3);
+  };
 
   if (PushPopSplit == ARMSubtarget::SplitR11WindowsSEH) {
----------------
ostannard wrote:
Can this `if` be removed now that the blocks are always pushed in the same order?
https://github.com/llvm/llvm-project/pull/116716
    
    
More information about the llvm-commits
mailing list