[PATCH] D29881: [PPC] Reduce stack frame size by allocating parameter area on an on-demand basis for ELFv2 ABI

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 20:58:46 PST 2017


inouehrs updated this revision to Diff 88484.
inouehrs added a reviewer: hfinkel.
inouehrs added a comment.

- I updated the patch to further reduce the stack frame size. Now the average stack frame size is reduced by about 50 bytes (from 182.9 byte to 133.7 byte).
- I added assets to confirm the parameter area is allocated before actually using it.
- I added a regression test.


https://reviews.llvm.org/D29881

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  test/CodeGen/PowerPC/stacksize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29881.88484.patch
Type: text/x-patch
Size: 9117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170215/4f6c230d/attachment.bin>


More information about the llvm-commits mailing list