[all-commits] [llvm/llvm-project] 956576: [win][x64] Various fixes for unwind v2 (#154834)
Daniel Paoliello via All-commits
all-commits at lists.llvm.org
Fri Aug 29 09:00:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 95657630bda3e73c19d190e25fd9d92b07fc3455
https://github.com/llvm/llvm-project/commit/95657630bda3e73c19d190e25fd9d92b07fc3455
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M llvm/lib/MC/MCWin64EH.cpp
M llvm/lib/Target/X86/X86WinEHUnwindV2.cpp
M llvm/test/CodeGen/X86/win64-eh-unwindv2-errors.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2.ll
Log Message:
-----------
[win][x64] Various fixes for unwind v2 (#154834)
* `SetFrame` does not count as a stack allocation.
* `mov` in the epilog undoes `SetFrame` (but is not required), it does
not deallocate a stack allocation.
* `mov` in the epilog MUST be before any stack deallocation or register
popping.
* Remove assert for having a prolog without any epilogs (this is
possible for `noreturn` functions, for instance).
* Improve the errors in `MC` to include the problematic function name.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list