[all-commits] [llvm/llvm-project] f314e1: [AArch64][SME] Fix iterator to fixupCalleeSaveRest...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Tue Oct 15 03:57:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f314e12494ed73290983a7db8e15c21578f437b3
      https://github.com/llvm/llvm-project/commit/f314e12494ed73290983a7db8e15c21578f437b3
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll

  Log Message:
  -----------
  [AArch64][SME] Fix iterator to fixupCalleeSaveRestoreStackOffset (#110855)

The iterator passed to `fixupCalleeSaveRestoreStackOffset` may be
incorrect when it tries to skip over the instructions that get the
current value of 'vg', when there is a 'rdsvl' instruction straight
after the prologue. That's because it doesn't check that the instruction
is still a 'frame-setup' instruction.



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