[all-commits] [llvm/llvm-project] c79bc5: [PowerPC][Bug] Fix Bug in Stack Frame Update Code

stefanp-ibm via All-commits all-commits at lists.llvm.org
Tue May 11 03:54:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c79bc5942d0efd4740c7a6d36ad951c59ef3bc0e
      https://github.com/llvm/llvm-project/commit/c79bc5942d0efd4740c7a6d36ad951c59ef3bc0e
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    A llvm/test/CodeGen/PowerPC/stack_pointer_vec_spills.mir

  Log Message:
  -----------
  [PowerPC][Bug] Fix Bug in Stack Frame Update Code

The stack frame update code does not take into consideration spilling
to registers for callee saved registers. The option -ppc-enable-pe-vector-spills
turns on spilling to registers for callee saved registers and may expose a bug
in the code that moves a stack frame pointer update instruction.

Reviewed By: nemanjai, #powerpc

Differential Revision: https://reviews.llvm.org/D101366




More information about the All-commits mailing list