[llvm] [ARM] Update IsRestored for LR based on all returns (PR #82745)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 08:48:47 PST 2024


================
@@ -59,6 +59,7 @@ class ARMFrameLowering : public TargetFrameLowering {
   void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
                             RegScavenger *RS) const override;
 
+  void updateLRRestored(MachineFunction &MF) const;
----------------
fhahn wrote:

Does this function still use anything from ARMFrameLowering? If not, could it be made static? Would also be good to document the new dedicated function

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


More information about the llvm-commits mailing list