[clang] [llvm] [X86][APX] Disable PP2/PPX generation on Windows (PR #178122)
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 28 21:05:06 PST 2026
================
@@ -967,7 +972,7 @@ void X86TargetInfo::getTargetDefines(const LangOptions &Opts,
Builder.defineMacro("__CF__");
if (HasZU)
Builder.defineMacro("__ZU__");
- if (HasEGPR && HasPush2Pop2 && HasPPX && HasNDD && HasCCMP && HasNF && HasZU)
+ if (HasEGPR && HasNDD && HasCCMP && HasNF && HasZU)
----------------
phoebewang wrote:
GCC is a bit different. They don't define and check single features: https://godbolt.org/z/6esWPovj7
I changed to check OS to match GCC as possible.
https://github.com/llvm/llvm-project/pull/178122
More information about the cfe-commits
mailing list