[all-commits] [llvm/llvm-project] 2f3935: [X86][APX] Disable PP2/PPX generation on Windows (...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Mon Feb 2 02:02:06 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f3935bcee6eaf7df8c85a21b7c0fbef967316b5
      https://github.com/llvm/llvm-project/commit/2f3935bcee6eaf7df8c85a21b7c0fbef967316b5
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2026-02-02 (Mon, 02 Feb 2026)

  Changed paths:
    M clang/include/clang/Options/Options.td
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    M clang/test/Driver/cl-x86-flags.c
    M clang/test/Driver/x86-target-features.c
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/lib/TargetParser/Host.cpp
    M llvm/test/CodeGen/X86/apx/push2-pop2-cfi-seh.ll

  Log Message:
  -----------
  [X86][APX] Disable PP2/PPX generation on Windows (#178122)

The PUSH2/POP2/PPX instructions for APX require updates to the Microsoft
Windows OS x64 calling convention documented at
https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64?view=msvc-170
due to lack of suitable unwinder opcodes that can support APX
PUSH2/POP2/PPX.

The PR request disables this support by default for code robustness;
workloads that choose to explicitly enable this support can change the
default behavior by explicitly specifying the flag options that enable
this support e.g. for experimentation or code paths that do not need
unwinder support.



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