]> granicus.if.org Git - llvm/commit
[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)
commita0e7d65aa691a9fe4eb335ef40df4e5250275509
tree10a80999f28cab5925931423d1f9490b12407d9d
parent0ddcb9877ccb81c7acb00af6e9a73efb4d1f24fd
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307495 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Host.cpp