[llvm] [SystemZ] Add shrink-wrapping support for ELF prologue/epilogue (PR #225240)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 05:57:40 PDT 2026


================

----------------
MarkVeerasingam wrote:

Resolved. Thanks for the help on this one Uli. Updated the code to use `canUseAsEpilogue`!
I didnt model Intels `flagsNeedToBePreservedBeforeTheTerminators` helper function. Within `canUseAsEpilogue` I added checks for `MBB.terminators` and `MBB.successors` 

https://github.com/llvm/llvm-project/pull/225240


More information about the llvm-commits mailing list