[llvm] Spill/restore FP/BP around instructions in which they are clobbered (PR #81048)

via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 04:01:03 PDT 2024


================
@@ -122,6 +131,7 @@ class PEI : public MachineFunctionPass {
   void calculateCallFrameInfo(MachineFunction &MF);
   void calculateSaveRestoreBlocks(MachineFunction &MF);
   void spillCalleeSavedRegs(MachineFunction &MF);
+  void spillFrameBasePointer(MachineFunction &MF);
----------------
zmodem wrote:

In TargetFrameLowering.h you use "FPBP" in the function names, here it's "FrameBase". Let's pick one convention for consistency.

I think "FPBP" makes it more clear that it concerns two registers, and not the "frame base pointer".

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


More information about the llvm-commits mailing list