[X86] Remove check for AVX512 support from skylake-avx512 detection in getHostCPUName.
authorCraig Topper <craig.topper@intel.com>
Sun, 9 Jul 2017 07:26:14 +0000 (07:26 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 9 Jul 2017 07:26:14 +0000 (07:26 +0000)
commit52cec3894aeedca7773e62250c26c595f9daf082
treee38ff0040eb1b33a8b6813528a649e18eeb5dd77
parent769cd05232c1df957fa60747b80e2821f979a91f
[X86] Remove check for AVX512 support from skylake-avx512 detection in getHostCPUName.

Users of getHostCPUName should also use getHostCPUFeatures which will take care of making sure avx512 is disabled if the CPU doesn't support it. This is consistent with what we do for other CPUs.

llvm-svn: 307495
llvm/lib/Support/Host.cpp