[all-commits] [llvm/llvm-project] 031866: [X86] Don't double count the interrupt stack align...

Timur Golubovich via All-commits all-commits at lists.llvm.org
Tue Sep 22 03:52:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 031866ff849401f9f42c5fba1e9a84ece38dadbc
      https://github.com/llvm/llvm-project/commit/031866ff849401f9f42c5fba1e9a84ece38dadbc
  Author: Timur Golubovich <timur.golubovich at intel.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/test/CodeGen/X86/x86-64-intrcc.ll

  Log Message:
  -----------
  [X86] Don't double count the interrupt stack alignment push in StackSize (#224029)

emitPrologue pushes a slot to give an error-code handler the
return-address parity the frame layout assumes, but StackSize counted
that push as well. NumBytes derives from StackSize, so the subq grew by
8 too and left RSP at 8 mod 16 at every call. Object addresses are
unchanged.

Fixes #44560, fixes #50195

---------

Co-authored-by: Claude Opus 5 <noreply at anthropic.com>



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