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

Zaara Syeda via All-commits all-commits at lists.llvm.org
Thu Aug 15 00:36:14 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c3d4f344685f7695bb8e05677d8684fa3aa1f72
      https://github.com/llvm/llvm-project/commit/9c3d4f344685f7695bb8e05677d8684fa3aa1f72
  Author: Zaara Syeda <syzaara at ca.ibm.com>
  Date:   2024-08-15 (Thu, 15 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

(cherry picked from commit d07f106e512c08455b76cc1889ee48318e73c810)



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