[PATCH] D28566: Disable Callee Saved Registers

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 13:15:26 PDT 2017


MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: include/llvm/Target/TargetRegisterInfo.h:429-430
   /// pointer if stack grows down, and vice versa.
-  ///
+  /// Notice: In most cases you will want to use instead the function 
+  /// getCalleeSavedRegs that is implemented in MachineRegisterInfo.
   virtual const MCPhysReg*
----------------
How about "This function does not consider calling conventions adapting to parameters; consider using MachineRegisterInfo::getCalleeSavedRegs() instead."?


Repository:
  rL LLVM

https://reviews.llvm.org/D28566





More information about the llvm-commits mailing list