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

Reply via email to