[PATCH] D152452: X86, PEI, WIP: Convert to backwards frame index elimination

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 08:55:53 PDT 2023


foad created this revision.
Herald added subscribers: StephenFan, pengfei, arphaman, hiraditya.
Herald added a project: All.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add support for call sequences to the backwards implementation of frame
index elimination and convert X86 to use it.

The goal is to convert all targets to backwards frame index elimination
and backwards register scavenging, which is preferred because it does
not rely on accurate kill flags.

X86 does not actually scavenge registers during frame index elimination
but doing the conversion is useful for flushing out problems in the call
sequence handling.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152452

Files:
  llvm/lib/CodeGen/PrologEpilogInserter.cpp
  llvm/lib/Target/X86/X86InstrInfo.cpp
  llvm/lib/Target/X86/X86RegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152452.529621.patch
Type: text/x-patch
Size: 10695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230608/a6b6d6f2/attachment.bin>


More information about the llvm-commits mailing list