[PATCH] D150600: [Lanai] Use backwards scavenging in frame index elimination

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 01:42:18 PDT 2023


foad added a comment.

In D150600#4344440 <https://reviews.llvm.org/D150600#4344440>, @jpienaar wrote:

> Would a difference show up on a small test?

If you have a small test that relies on scavenging then we can run it with `-stop-before=prologepilog` to get a MIR test, and then manually add/remove some kill flags to show that forward scavenging is affected by that but backwards scavenging is not.

Currently if I disable the scavenging part of `LanaiRegisterInfo::eliminateFrameIndex` then all the codegen tests still pass :(


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150600/new/

https://reviews.llvm.org/D150600



More information about the llvm-commits mailing list