[llvm] [X86] Avoid invalid ret for EH_RETURN with SHSTK (PR #219322)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 13:47:31 PDT 2026


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

----------------
linisha15 wrote:

Added a WINRET RUN line for x86_64-uefi without -mattr=+shstk. While implementing this I found UEFI's output is actually identical to Win64's in both configurations (verified by diffing raw llc output), so I merged the UEFI64 prefix into WIN64 and used a new WINRET prefix for the non-shstk case, since the shstk and non-shstk outputs differ from each other and can't share one prefix. All RUN lines pass.

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


More information about the llvm-commits mailing list