[llvm] [X86][IPRA] Add getIPRACSRegs since frame registers are risked to be optimized out. (PR #109597)

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 18:38:37 PDT 2024


================
@@ -489,6 +489,12 @@ class TargetRegisterInfo : public MCRegisterInfo {
   virtual const MCPhysReg*
   getCalleeSavedRegs(const MachineFunction *MF) const = 0;
 
+  /// Return a null-terminated list of all of the callee-saved registers on
+  /// this target when IPRA is on. Normally, this list should be null.
----------------
FreddyLeaf wrote:

Thanks review! addressed in https://github.com/llvm/llvm-project/pull/109597/commits/ef0f2682c9d8866a2a1fb552cb5941dbf416be56.

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


More information about the llvm-commits mailing list