[clang] [llvm] [X86][APX] Disable PP2/PPX generation on Windows (PR #178122)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 04:56:34 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
----------------
phoebewang wrote:

Done. I think so, but it's not clear to me now. I think it's fine here now. Host means build and run must be on the same machine with the same OS (notes APXSave is OS dependent already). So we don't worry about it's enabled or disabled incorrectly.

https://github.com/llvm/llvm-project/pull/178122


More information about the llvm-commits mailing list