[X86] Change getHostCPUName fallback code to not select 'x86-64' for unknown CPUs...
authorCraig Topper <craig.topper@intel.com>
Thu, 2 Nov 2017 19:13:32 +0000 (19:13 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 2 Nov 2017 19:13:32 +0000 (19:13 +0000)
commita233e16cd880d0ff30268e14e657a10026a47121
treeccde5fed4f69e0235ea072d69edba6202520b9ac
parenta15c4deb7b8d848749fae3575dca0a9721db7d87
[X86] Change getHostCPUName fallback code to not select 'x86-64' for unknown CPUs in family 6 that has 64-bit support but not any newer SSE features. Use 'core2' instead

We know that's the earliest CPU with 64-bit support. x86-64 has taken on a role of representing a more modern 64-bit CPU so we probably shouldn't be using that when we can't identify things.

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