[X86] Simplify the detection of pentium-mmx in Host.cpp.
authorCraig Topper <craig.topper@intel.com>
Thu, 2 Nov 2017 03:32:49 +0000 (03:32 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 2 Nov 2017 03:32:49 +0000 (03:32 +0000)
commitc5a51cfc348a1d8dbfac401f7f1214a03970513d
tree6669daa40d6fa50e77008d65b14f4197e2ea591b
parent77c58f0a985f45e72bf04a770bc043a545df4f30
[X86] Simplify the detection of pentium-mmx in Host.cpp.

Rather than looking at model numbers just check for the mmx feature flag. While there promote INTEL_PENTIUM_MMX to a CPU type instead of a subtype so that we don't have weird type with only one subtype.

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