[PATCH] D81354: [PowerPC][NFC] Refactor lowerDynamicAlloc

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 20:16:18 PDT 2020


lkail created this revision.
lkail added reviewers: PowerPC, hfinkel.
Herald added subscribers: llvm-commits, shchenz, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

When performing dynamic stack allocation, calculation of frame pointer and actual negsize can be separated. This patch refactors `lowerDynamicAlloc` in preparation of supporting `-fstack-clash-protection` which also has to calculate actual frame pointer and negsize.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81354

Files:
  llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
  llvm/lib/Target/PowerPC/PPCRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81354.269093.patch
Type: text/x-patch
Size: 6205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200608/6567585a/attachment.bin>


More information about the llvm-commits mailing list