[PATCH] D127209: [SVE][AArch64] Refine hasSVEArgsOrReturn
Matt Devereau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 7 05:28:03 PDT 2022
MattDevereau created this revision.
MattDevereau added reviewers: bsmith, paulwalker-arm, c-rhodes, david-arm.
Herald added subscribers: ctetreau, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
MattDevereau requested review of this revision.
Herald added subscribers: llvm-commits, alextsao1999.
Herald added a project: LLVM.
As described in aapcs64 (https://github.com/ARM-software/abi-aa/blob/2022Q1/aapcs64/aapcs64.rst#scalable-vector-registers) AAVPCS is used only when registers z0-z7 take an SVE argument. This fixes the case where floats occupy the lower bits of registers z0-z7 but SVE arguments in registers greater than z7 cause a function to use AAVPCS where it should use AAPCS.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127209
Files:
llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
llvm/test/CodeGen/AArch64/sve-calling-convention-mixed.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127209.434788.patch
Type: text/x-patch
Size: 11658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220607/7005a637/attachment.bin>
More information about the llvm-commits
mailing list