[all-commits] [llvm/llvm-project] 33609b: [AArch64][SVE] Coalesce SVE prologue/epilogue stac...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Mon Nov 3 03:40:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33609bdd589d00b2bb26b9a1768a5d3c4271e22d
      https://github.com/llvm/llvm-project/commit/33609bdd589d00b2bb26b9a1768a5d3c4271e22d
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64PrologueEpilogue.cpp
    M llvm/lib/Target/AArch64/AArch64PrologueEpilogue.h
    M llvm/test/CodeGen/AArch64/framelayout-split-sve.mir
    M llvm/test/CodeGen/AArch64/split-sve-stack-frame-layout.ll

  Log Message:
  -----------
  [AArch64][SVE] Coalesce SVE prologue/epilogue stack adjustments (#163956)

With split SVE, it is possible to have multiple stack adjustments at the
same location. Previously, these were all handled separately, which
could result in more stack adjustments than necessary.

This patch reworks the prologue/epilogue to group stack adjustments when
possible. A nice side-effect is that the code for the prologue and
epilogue is now more closely aligned/similar.



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