[PATCH] D99657: [AArch64][SVE] SVE functions should use the SVE calling convention for fast calls
Bradley Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 05:28:07 PDT 2021
bsmith created this revision.
bsmith added reviewers: paulwalker-arm, joechrisellis, peterwaller-arm, david-arm.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99657
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-tailcall.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99657.334419.patch
Type: text/x-patch
Size: 7213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/4c454b00/attachment.bin>
More information about the llvm-commits
mailing list