[all-commits] [llvm/llvm-project] 926a71: [CodeGen][WinEH] Update saved esp for inlined inal...

Mirko via All-commits all-commits at lists.llvm.org
Thu Nov 21 13:59:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 926a71f0c9ff11a7b07231439505808780e88fe5
      https://github.com/llvm/llvm-project/commit/926a71f0c9ff11a7b07231439505808780e88fe5
  Author: Mirko <mirkomueller97 at live.de>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86WinEHState.cpp
    A llvm/test/CodeGen/WinEH/wineh-dynamic-alloca.ll
    A llvm/test/CodeGen/WinEH/wineh-inlined-inalloca.ll

  Log Message:
  -----------
  [CodeGen][WinEH] Update saved esp for inlined inallocas (#116585)

This fixes issue #116583

When inalloca calls are inlined the static stack pointer saving prolog
of X86WinEHState breaks due to dynamic allocas.
In this case we need to update the saved esp for every inalloca and for
every stackrestore also related to inalloca.



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