[PATCH] D126115: [BOLT] Increase coverage of shrink wrapping [5/5]

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 21:24:44 PDT 2022


Amir accepted this revision.
Amir added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: jsji.

To recap:

1. This diff adds a new experimental shrink wrapping mode which ignores escaping stack pointer (ie. mov rsp -> reg) in moving callee-saved registers.
2. This is based on the assumption that stack frame locations for CSRs are not explicitly addressed by the function code.
3. For functions that have been optimized under this mode, the new property (FAA.doesEscapeStackAddress) is added to prevent further Frame optimizations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126115



More information about the llvm-commits mailing list