[all-commits] [llvm/llvm-project] 334a36: [AArch64][Darwin][SME] Don't try to save VG to the...

Amara Emerson via All-commits all-commits at lists.llvm.org
Tue Aug 13 01:47:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 334a366ba792adb41ccf43457b65ac88aa37f178
      https://github.com/llvm/llvm-project/commit/334a366ba792adb41ccf43457b65ac88aa37f178
  Author: Amara Emerson <amara at apple.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/sme-darwin-no-sve-vg.ll

  Log Message:
  -----------
  [AArch64][Darwin][SME] Don't try to save VG to the stack for unwinding.

On Darwin we don't have any hardware that has SVE support, only SME.
Therefore we don't need to save VG for unwinders and can safely omit it.

This also fixes crashes introduced since this feature landed since Darwin's
compact unwind code can't handle the presence of VG anyway.

rdar://131072344



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