[all-commits] [llvm/llvm-project] 0934fa: [AArch64][SVE] SVE functions should use the SVE ca...
Bradley Smith via All-commits
all-commits at lists.llvm.org
Thu Apr 1 07:52:31 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0934fa4f5d5b07856a73b5dddd395f70c8a3fa84
https://github.com/llvm/llvm-project/commit/0934fa4f5d5b07856a73b5dddd395f70c8a3fa84
Author: Bradley Smith <bradley.smith at arm.com>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-calling-convention.ll
M llvm/test/CodeGen/AArch64/sve-tailcall.ll
Log Message:
-----------
[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: Paul Walker <paul.walker at arm.com>
Differential Revision: https://reviews.llvm.org/D99657
More information about the All-commits
mailing list