[AIX] Let alloca return 16 bytes alignment
authorXiangling Liao <Xiangling.Liao@ibm.com>
Fri, 23 Oct 2020 18:09:14 +0000 (14:09 -0400)
committerXiangling Liao <Xiangling.Liao@ibm.com>
Fri, 23 Oct 2020 18:41:32 +0000 (14:41 -0400)
commit05bef88eb3ecb8519a871ca9aa53caeca5add555
treea453532c68d30c4f374f56edd0fde33527d28e04
parent2e64ad94948763a4f9a289265dbce4ce1d22591b
[AIX] Let alloca return 16 bytes alignment

On AIX, to support vector types, which should always be 16 bytes aligned,
we set alloca to return 16 bytes aligned memory space.

Differential Revision: https://reviews.llvm.org/D89910
clang/lib/Basic/Targets/PPC.h
clang/test/CodeGen/aix_alloca_align.c [new file with mode: 0644]
clang/test/Preprocessor/init-ppc.c
clang/test/Preprocessor/init-ppc64.c