[all-commits] [llvm/llvm-project] 6215f4: [PowerPC] Spilling to registers does not require f...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon May 10 12:43:01 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    A llvm/test/CodeGen/PowerPC/frame_index_scavenging.mir

  Log Message:
  -----------
  [PowerPC] Spilling to registers does not require frame index scavenging

If spills are to registers instead of to the stack then a copy will be used
and frame index scavenging is not required.

This patch adds debug info to frame index scavenging and makes sure that
spilling to registers does not cause frame index scavenging.

Reviewed By: nemanjai, #powerpc

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




More information about the All-commits mailing list