[llvm] [clang-tools-extra] [compiler-rt] [clang] [flang] [PowerPC][CodeGen] Exploit STMW and LMW in 32-bit big-endian mode. (PR #74415)

Qiu Chaofan via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 22:42:55 PST 2023


================
@@ -2399,6 +2405,30 @@ bool PPCFrameLowering::assignCalleeSavedSpillSlots(
   return AllSpilledToReg;
 }
 
+static void findContinuousLoadStore(ArrayRef<CalleeSavedInfo> CSI,
+                                    Register &MergeFrom) {
+  CalleeSavedInfo BeginI = CSI[0];
----------------
ecnelises wrote:

Better to define `BeginI` as an index, and use `CSI[BeginI]` in following code?

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


More information about the cfe-commits mailing list