diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2018-09-12 08:54:06 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2018-09-12 08:54:06 +0000 |
commit | 4dbc5126767c9c49ae584ec2f403271177b954c2 (patch) | |
tree | 9c5ccd7a3b4134b5460d5c697b1ad97a1fb3afcc /llvm/test/Bitcode | |
parent | c9463097d97c654bab5f509bf388ff22caedf894 (diff) | |
download | bcm5719-llvm-4dbc5126767c9c49ae584ec2f403271177b954c2.tar.gz bcm5719-llvm-4dbc5126767c9c49ae584ec2f403271177b954c2.zip |
[AArch64] Add parsing of aarch64_vector_pcs attribute.
This patch adds parsing support for the 'aarch64_vector_pcs'
calling convention attribute to calls and function declarations.
More information describing the vector ABI and procedure call standard
can be found here:
https://developer.arm.com/products/software-development-tools/\
hpc/arm-compiler-for-hpc/vector-function-abi
Reviewers: t.p.northover, rnk, rengolin, javed.absar, thegameg, SjoerdMeijer
Reviewed By: SjoerdMeijer
Differential Revision: https://reviews.llvm.org/D51477
llvm-svn: 342030
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r-- | llvm/test/Bitcode/vector-pcs.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/vector-pcs.ll b/llvm/test/Bitcode/vector-pcs.ll new file mode 100644 index 00000000000..7caf1daa99c --- /dev/null +++ b/llvm/test/Bitcode/vector-pcs.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as %s -o - -f | llvm-dis | FileCheck %s +; RUN: llvm-as %s -o - -f | verify-uselistorder + +declare aarch64_vector_pcs void @aarch64_vector_pcs() +; CHECK: declare aarch64_vector_pcs void @aarch64_vector_pcs + +define void @call_aarch64_vector_pcs() { +; CHECK: call aarch64_vector_pcs void @aarch64_vector_pcs + call aarch64_vector_pcs void @aarch64_vector_pcs() + ret void +} |