[PATCH] D106393: [PowerPC][AIX] Add support for varargs for complex types on AIX
Zarko Todorovski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 20 13:12:28 PDT 2021
ZarkoCA created this revision.
ZarkoCA added reviewers: cebowleratibm, sfertile, PowerPC.
Herald added subscribers: shchenz, kbarton, nemanjai.
ZarkoCA requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
Remove the previous error and add support for special handling of small
complex types as in PPC64 ELF ABI. As in, generate code to load from
varargs location and pack it in a temp variable, then return a pointer to
the struct.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106393
Files:
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/aix32-complex-varargs.c
clang/test/CodeGen/ppc64-varargs-complex.c
llvm/test/CodeGen/PowerPC/aix32-complex-vararg.ll
llvm/test/CodeGen/PowerPC/aix64-complex-vararg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106393.360248.patch
Type: text/x-patch
Size: 53314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210720/70258a24/attachment-0001.bin>
More information about the cfe-commits
mailing list