mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
26f87b9829
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
12 lines
382 B
LLVM
12 lines
382 B
LLVM
; 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
|
|
}
|