[all-commits] [llvm/llvm-project] 563cc3: [Clang][CSKY] Add support about CSKYABIInfo

Zi Xuan Wu (Zeson) via All-commits all-commits at lists.llvm.org
Mon May 30 19:56:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 563cc3fda9a2a35582d274e1d2d66687ecf2fc77
      https://github.com/llvm/llvm-project/commit/563cc3fda9a2a35582d274e1d2d66687ecf2fc77
  Author: Zi Xuan Wu (Zeson) <zixuan.wu at linux.alibaba.com>
  Date:   2022-05-31 (Tue, 31 May 2022)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    A clang/test/CodeGen/CSKY/csky-abi.c
    A clang/test/CodeGen/CSKY/csky-hard-abi.c
    A clang/test/CodeGen/CSKY/csky-soft-abi.c

  Log Message:
  -----------
  [Clang][CSKY] Add support about CSKYABIInfo

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.

Differential Revision: https://reviews.llvm.org/D126451




More information about the All-commits mailing list