1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/Bitcode/vector-pcs.ll
Sander de Smalen 26f87b9829 [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
2018-09-12 08:54:06 +00:00

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
}