[PATCH] D24597: [cpu-detection] Copy simplified version of get_cpuid_max to remove dependency to clang's implementation

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 18:12:29 PDT 2016


echristo added inline comments.

================
Comment at: lib/Support/Host.cpp:172
@@ -175,1 +171,3 @@
 
+// The check below for i386 was copied from clang's cpuid.h (__get_cpuid_max).
+// Check motivated by bug reports for OpenSSL crashing on CPUs without CPUID
----------------
Once we have this here can we get rid of the bits in clang?


https://reviews.llvm.org/D24597





More information about the llvm-commits mailing list