[PATCH] D124998: [AArch64][SVE] Add aarch64_sve_pcs attribute to Clang
Peter Waller via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 5 05:45:29 PDT 2022
peterwaller-arm accepted this revision.
peterwaller-arm added a comment.
This revision is now accepted and ready to land.
Looks good to me with minor nits.
================
Comment at: clang/include/clang-c/Index.h:3448
+ CXCallingConv_AArch64SVEPcs= 17,
+ CXCallingConv_SwiftAsync = 18,
----------------
It shouldn't matter in principle (... "but in practice" ...) we should probably avoid renumbering existing things in the enum and instead add to the end of it.
Nit, this is missing a space before the equals.
Nit, SVE is an acronym, so is PCS, so capitalization should be consistent between the two. I see 'PCS' capitalized in AAPCS for example so probably all upper case makes the sense.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124998/new/
https://reviews.llvm.org/D124998
More information about the cfe-commits
mailing list