[PATCH] D125619: [MCWin64EH] Check for matches between epilogs and the prolog on ARM64

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 14 16:12:08 PDT 2022


mstorsjo created this revision.
mstorsjo added reviewers: efriedma, zzheng, rnk.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: LLVM.

This allows sharing opcodes between prolog and epilog even when there
is more than one epilog.

I didn't make any handcrafted special MC level testcases for this (yet
at least), but it does seem to have the expected effect on two existing
CodeGen level testcases.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125619

Files:
  llvm/lib/MC/MCWin64EH.cpp
  llvm/test/CodeGen/AArch64/wineh4.mir
  llvm/test/CodeGen/AArch64/wineh8.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125619.429493.patch
Type: text/x-patch
Size: 5443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220514/72be9342/attachment.bin>


More information about the llvm-commits mailing list