[SystemZ/z/OS] Add XPLINK dynamic stack allocation
authorKai Nacke <kai.nacke@de.ibm.com>
Mon, 14 Feb 2022 18:02:28 +0000 (13:02 -0500)
committerKai Nacke <kai.nacke@de.ibm.com>
Mon, 14 Feb 2022 18:35:28 +0000 (13:35 -0500)
commit713496d9c9088387f143c521d8f981bfe2be92ad
treed43367f570e68e952332a5b2e101ab19e3888cc4
parentc23198ec1348e5f1fe9fa7b23bd6b6ba21ac52f3
[SystemZ/z/OS] Add XPLINK dynamic stack allocation

With XPLINK, dynamic stack allocations requires calling
a runtime function, which allocates the stack memory,
moves the register save area, and returns the new
stack pointer.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D119732
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZISelLowering.h
llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll