[PATCH] D77749: [PowerPC][Future] Remove redundant r2 save and restore for indirect call

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 15:27:56 PDT 2020


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

Minor change to the comment can be made on the commit. LGTM.



================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:5129
 
+// For AIX and 64-bit ELFv2 ABI w/o PCRel, TOC save and restore are required.
+static inline bool isTOCSaveRestoreRequired(const PPCSubtarget &Subtarget) {
----------------
`// AIX and 64-bit ELF ABIs w/o PCRel require a TOC save/restore around calls.`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77749





More information about the llvm-commits mailing list