Skip to content
Commit 0934fa4f authored by Bradley Smith's avatar Bradley Smith
Browse files

[AArch64][SVE] SVE functions should use the SVE calling convention for fast calls



When an SVE function calls another SVE function using the C calling
convention we use the more efficient SVE VectorCall PCS.  However,
for the Fast calling convention we're incorrectly falling back to
the generic AArch64 PCS.

This patch adds the same "can use SVE vector calling convention"
detection used by CallingConv::C to CallingConv::Fast.

Co-authored-by: default avatarPaul Walker <paul.walker@arm.com>

Differential Revision: https://reviews.llvm.org/D99657
parent 65c8bfb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment