]> granicus.if.org Git - llvm/commit
[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)
commit161385fddde9e408c5ec777889c24c435e811332
treec9f25cfc5caf7739d7ef2786635910ebe6ad63ad
parent2f759d471a7e20388901944f6b64d6c74c8a00ae
[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.

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