================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to