[PATCH] D76130: [PPC][AIX] Implement variadic function handling in LowerFormalArguments_AIX.

Zarko Todorovski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 13 06:55:47 PDT 2020


ZarkoCA created this revision.
ZarkoCA added reviewers: cebowleratibm, sfertile.
Herald added subscribers: cfe-commits, kbarton, hiraditya, nemanjai.
Herald added a project: clang.

This patch adds support for handling of variadic functions for AIX. This includes ensuring that use and consume correct type of va_list (char *va_list) for AIX.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76130

Files:
  clang/lib/Basic/Targets/PPC.h
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/CodeGen/aix-vararg.c
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/aix-cc-abi-va_args-32.ll
  llvm/test/CodeGen/PowerPC/aix-cc-abi-va_args-64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76130.250190.patch
Type: text/x-patch
Size: 39564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200313/6f5aa7bc/attachment-0001.bin>


More information about the cfe-commits mailing list