[LoongArch] Stack realignment support
commitdaf067da04c98ce666f67ba2b3beed4cf4be7549
authorwanglei <wanglei@loongson.cn>
Fri, 21 Oct 2022 09:03:37 +0000 (21 17:03 +0800)
committerWeining Lu <luweining@loongson.cn>
Fri, 21 Oct 2022 09:30:29 +0000 (21 17:30 +0800)
tree8635dbc669b7120df519eeee06b076ddbdf566ae
parent182d1c2a6289a1fdf78b5d0d3cc6b970ff29b76b
[LoongArch] Stack realignment support

This patch adds support for stack realignment while adding support for
variable sized objects.

Differential Revision: https://reviews.llvm.org/D136074
llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
llvm/test/CodeGen/LoongArch/stack-realignment-with-variable-sized-objects.ll [new file with mode: 0644]
llvm/test/CodeGen/LoongArch/stack-realignment.ll [new file with mode: 0644]