[PATCH] D85850: [PowerPC][AIX] Fix frame-pointer and base-pointer save/restore offset.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 11:42:08 PDT 2020


sfertile created this revision.
sfertile added reviewers: cebowleratibm, ZarkoCA, Xiangling_L.
sfertile added a project: PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
sfertile requested review of this revision.
Herald added a subscriber: wuzish.

gprs 30 and 31 are handled differently when they are reserved as the base-pointer and frame-pointer respectively. This fixes the offset of their fixed-stack objects when there are fpr calle-saved registers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85850

Files:
  llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
  llvm/test/CodeGen/PowerPC/aix-base-pointer.ll
  llvm/test/CodeGen/PowerPC/aix-framepointer-save-restore.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85850.285150.patch
Type: text/x-patch
Size: 4439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200812/99a8fb99/attachment.bin>


More information about the llvm-commits mailing list