[clang] [llvm] [X86][APX] Disable PP2/PPX generation on Windows (PR #178122)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 27 03:21:43 PST 2026
================
@@ -2167,8 +2167,10 @@ StringMap<bool> sys::getHostCPUFeatures() {
bool HasAVX10 = HasLeaf7Subleaf1 && ((EDX >> 19) & 1);
bool HasAPXF = HasLeaf7Subleaf1 && ((EDX >> 21) & 1) && HasAPXSave;
Features["egpr"] = HasAPXF;
+#ifndef _WIN32
----------------
RKSimon wrote:
Comments? Is there a plan to support this in the future?
Ideally we wouldn't filter the host cpu features by OS like this - but I'm not sure what alternatives there are?
https://github.com/llvm/llvm-project/pull/178122
More information about the llvm-commits
mailing list