[PATCH] D101360: [PowerPC] Spilling to regsiters does not require frame index scavenging

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 06:28:45 PDT 2021


stefanp created this revision.
stefanp added reviewers: nemanjai, sfertile.
Herald added subscribers: shchenz, arphaman, kbarton, hiraditya.
stefanp requested review of this revision.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101360

Files:
  llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
  llvm/test/CodeGen/PowerPC/frame_index_scavenging.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101360.340819.patch
Type: text/x-patch
Size: 8613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/309a657c/attachment.bin>


More information about the llvm-commits mailing list