[PATCH] D70821: [SystemZ] Implement the packed stack layout
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 28 06:45:51 PST 2019
jonpa created this revision.
jonpa added a reviewer: uweigand.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
(In progress)
- Store GPRs topmost in the Register Save Area, and then any FP arg regs below them. Make sure to update the offset for each register.
- Do not always increase the stack size with CallFrameSize, but instead with the amount used of the Register save area.
- Extend getFrameIndexReference() to increase all offsets into the local area so that in effect the Local area now begins below the last used byte of the register save area.
Command line option not yet implemented - I suppose this could be done the same way as with -mnop-mcount?
https://reviews.llvm.org/D70821
Files:
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
llvm/lib/Target/SystemZ/SystemZFrameLowering.h
llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.h
llvm/test/CodeGen/SystemZ/frame-22.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70821.231424.patch
Type: text/x-patch
Size: 12200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191128/511f593c/attachment-0001.bin>
More information about the llvm-commits
mailing list