[X86] Fix a typo in Host.cpp that causes us to misidentify KNL, Silvermont, Goldmont...
authorCraig Topper <craig.topper@intel.com>
Tue, 6 Mar 2018 22:45:31 +0000 (22:45 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 6 Mar 2018 22:45:31 +0000 (22:45 +0000)
commit55ad3299d40be274aa565d02630bd513bcb3495f
tree2b7ec954f25052f77dde6b478a65b7d1790b90ef
parent4428e90efa31df7b288b170330dc7ec941ea72f8
[X86] Fix a typo in Host.cpp that causes us to misidentify KNL, Silvermont, Goldmont and probably other CPUs for -march=native

I think most of the Intel Core CPUs and recent AMD CPUs are unaffected. All the CPUs that have a "subtype" should work. The ones that were broken are the ones that are a "type" with no subtypes.

Fixes PR36619.

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