[all-commits] [llvm/llvm-project] d07f10: [PPC][AIX] Save/restore r31 when using base pointe...

Zaara Syeda via All-commits all-commits at lists.llvm.org
Wed Aug 7 07:00:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d07f106e512c08455b76cc1889ee48318e73c810
      https://github.com/llvm/llvm-project/commit/d07f106e512c08455b76cc1889ee48318e73c810
  Author: Zaara Syeda <syzaara at ca.ibm.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/test/CodeGen/PowerPC/aix-base-pointer.ll

  Log Message:
  -----------
  [PPC][AIX] Save/restore r31 when using base pointer (#100182)

When the base pointer r30 is used to hold the stack pointer, r30 is
spilled in the prologue. On AIX registers are saved from highest to
lowest, so r31 also needs to be saved.

Fixes https://github.com/llvm/llvm-project/issues/96411



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