[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)
commit094d7914ae044b957335be075616a8c77e63a15e
tree9695d8b02cd25af5dbcf02238c73fbf474bd2f01
parent23502721870be84917fb97e4c9b8ae0755bd220e
[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.

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