aboutsummaryrefslogtreecommitdiff
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorMatt Devereau <matthew.devereau@arm.com>2022-03-29 17:52:48 +0000
committerMatt Devereau <matthew.devereau@arm.com>2022-05-11 13:33:56 +0000
commit75bb815231f6967bd5f4e24143141b9fe69d01f8 (patch)
treecf103f82ec12ea8c3e7b67d3f5fe349c4a90f7ee /clang/include/clang-c
parentf5d45d70a5114c6c93822ba9f8e9e042f881238f (diff)
downloadllvm-75bb815231f6967bd5f4e24143141b9fe69d01f8.zip
llvm-75bb815231f6967bd5f4e24143141b9fe69d01f8.tar.gz
llvm-75bb815231f6967bd5f4e24143141b9fe69d01f8.tar.bz2
[AArch64][SVE] Add aarch64_sve_pcs attribute to Clang
Enable function attribute aarch64_sve_pcs at the C level, which correspondes to aarch64_sve_vector_pcs at the LLVM IR level. This requirement was created by this addition to the ARM C Language Extension: https://github.com/ARM-software/acle/pull/194 Differential Revision: https://reviews.llvm.org/D124998
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index f28601c..c4da7df 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -3445,6 +3445,7 @@ enum CXCallingConv {
CXCallingConv_PreserveAll = 15,
CXCallingConv_AArch64VectorCall = 16,
CXCallingConv_SwiftAsync = 17,
+ CXCallingConv_AArch64SVEPCS = 18,
CXCallingConv_Invalid = 100,
CXCallingConv_Unexposed = 200