[all-commits] [llvm/llvm-project] efc707: [X86][APX] Prevent from emitting push2/pop2 if sta...

Feng Zou via All-commits all-commits at lists.llvm.org
Fri Jun 6 06:10:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efc70787b5442fa189de7222be4c1275abb556ba
      https://github.com/llvm/llvm-project/commit/efc70787b5442fa189de7222be4c1275abb556ba
  Author: Feng Zou <feng.zou at intel.com>
  Date:   2025-06-06 (Fri, 06 Jun 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.h
    A llvm/test/CodeGen/X86/apx/push2-pop2-disabled-with-small-stack-alignment.ll

  Log Message:
  -----------
  [X86][APX] Prevent from emitting push2/pop2 if stack alignment<16B (#143076)

push2/pop2 requires 16-byte stack alignment. If the stack alignment is
less than that, push2/pop2 should not be emitted. It triggers general
protection exception if the data being pushed/popped by push2/pop2 is
not 16-byte aligned on the stack.



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