[PATCH] D126451: [Clang][CSKY] Add support about CSKYABIInfo

Zixuan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 01:32:45 PDT 2022


zixuan-wu created this revision.
zixuan-wu added reviewers: rengolin, DavidSpickett.
Herald added a project: All.
zixuan-wu requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

According to the CSKY ABIv2 document <https://github.com/c-sky/csky-doc/blob/master/C-SKY_V2_CPU_Applications_Binary_Interface_Standards_Manual.pdf>, construct the ABIInfo to handle argument passing and return of clang data type. It also includes how to emit and expand VAArg intrinsic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126451

Files:
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/CodeGen/CSKY/csky-abi.c
  clang/test/CodeGen/CSKY/csky-hard-abi.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126451.432211.patch
Type: text/x-patch
Size: 39025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220526/31c85922/attachment-0001.bin>


More information about the cfe-commits mailing list