[llvm] [win][x64] Allow push/pop for stack alloc when unwind v2 is required (PR #153621)

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 16:29:22 PDT 2025


================
@@ -201,11 +201,6 @@ bool X86WinEHUnwindV2::runOnMachineFunction(MachineFunction &MF) {
                 "The epilog is deallocating a stack "
                 "allocation, but the prolog did "
                 "not allocate one");
-          if (HasStackDealloc)
----------------
dpaoliello wrote:

Ah, I see what you mean now. Switch it to be an error and added tests.

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


More information about the llvm-commits mailing list