[PATCH] D64908: Fix and test inter-procedural register allocation for ARM

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 09:44:36 PDT 2019


dmgreen added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/TargetRegisterInfo.h:492
 
+  /// Return a null-terminated list of all of the registers thich are clobbered
+  /// "inside" a call to the given function. For example, these might be needed
----------------
*which


================
Comment at: llvm/include/llvm/CodeGen/TargetRegisterInfo.h:496
+  virtual const MCPhysReg *
+  getIntraCallClobberedRegs(const MachineFunction *MF) const {
+    return nullptr;
----------------
This returns a Null terminated list (or null), in the same way as getCalleeSavedRegs above? I guess that's Ok.

An arrayref might be a better interface for it, all the same.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64908/new/

https://reviews.llvm.org/D64908





More information about the llvm-commits mailing list