[llvm] [PowerPC][CodeGen] Exploit STMW and LMW in 32-bit big-endian mode. (PR #74415)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 27 23:43:54 PST 2023


================
@@ -2399,6 +2405,43 @@ bool PPCFrameLowering::assignCalleeSavedSpillSlots(
   return AllSpilledToReg;
 }
 
+static void findContinuousLoadStore(const MachineFunction *MF,
+                                    ArrayRef<CalleeSavedInfo> CSI,
+                                    Register &MergeFrom) {
+  const MachineFrameInfo &MFI = MF->getFrameInfo();
+  int64_t Offset = MFI.estimateStackSize(*MF);
----------------
chenzheng1030 wrote:

Could we use `PPCFrameLowering::determineFrameLayout()` to determine the stack size on PPC?

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


More information about the llvm-commits mailing list