[PATCH] D133213: [LLVM][AArch64] Explain that X19 is used as the frame base pointer register

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 4 22:45:29 PDT 2022


tschuett added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/TargetRegisterInfo.h:528
+  /// why the given register is reserved for the given machine function.
+  virtual const char *explainReservedReg(const MachineFunction &MF,
+                                         MCRegister PhysReg) const {
----------------
You could use an `Optional<std::string>` instead. It will be seldom used.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133213



More information about the llvm-commits mailing list