[all-commits] [llvm/llvm-project] 9bacf1: [AArch64][SVE] Fix PCS for functions taking/return...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Jul 21 08:15:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bacf1588583014538a0217add18f370acb95788
      https://github.com/llvm/llvm-project/commit/9bacf1588583014538a0217add18f370acb95788
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/test/CodeGen/AArch64/sve-calling-convention.ll
    M llvm/test/CodeGen/AArch64/sve-trunc.ll

  Log Message:
  -----------
  [AArch64][SVE] Fix PCS for functions taking/returning scalable types.

The default calling convention needs to save/restore the SVE callee
saves according to the SVE PCS when the function takes or returns
scalable types, even when the `aarch64_sve_vector_pcs` CC is not
specified for the function.

Reviewers: efriedma, paulwalker-arm, david-arm, rengolin

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D84041




More information about the All-commits mailing list