[all-commits] [llvm/llvm-project] 3e4abe: [AArch64][SME] Rewrite __arm_get_current_vg to pre...

Kerry McLaughlin via All-commits all-commits at lists.llvm.org
Fri Jul 26 00:29:03 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e4abe985a584f3067448b5169c05509d3b571d2
      https://github.com/llvm/llvm-project/commit/3e4abe985a584f3067448b5169c05509d3b571d2
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
    M compiler-rt/lib/builtins/aarch64/sme-abi.S

  Log Message:
  -----------
  [AArch64][SME] Rewrite __arm_get_current_vg to preserve required registers (#100143)

The documentation for the __arm_get_current_vg support routine specifies
that the following registers are call-preserved:
 - X1-X15, X19-X29 and SP
 - Z0-Z31
 - P0-P15

This patch rewrites the implementation of this routine in compiler-rt,
as the current version does not guarantee that these registers will be
preserved.

(cherry picked from commit 6da6772bf0a33131aa8540c9d4f60d5db75c32b5)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list