[all-commits] [llvm/llvm-project] 107260: [AArch64][SME2] Don't preserve ZT0 around SME ABI ...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Tue Mar 25 03:09:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 107260cc29368070bba815d94f9d5b7cec1df7d0
      https://github.com/llvm/llvm-project/commit/107260cc29368070bba815d94f9d5b7cec1df7d0
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
    M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
    M llvm/test/CodeGen/AArch64/sme-zt0-state.ll

  Log Message:
  -----------
  [AArch64][SME2] Don't preserve ZT0 around SME ABI routines (#132722)

This caused ZT0 to be preserved around `__arm_tpidr2_save` in functions
with "aarch64_new_zt0". The block in which `__arm_tpidr2_save` is called
is added by the SMEABIPass and may be reachable in cases where ZA has
not been enabled* (so using `str zt0` is invalid).

* (when za_save_buffer is null and num_za_save_slices is zero)



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