From 0dadfe30d2cd918b29c4e27bea499f65fcccadd7 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 15 Nov 2017 06:02:43 +0000 Subject: [PATCH] [X86] Add getHostCPUName support for the Gemini Lake model number which also uses Goldmont. llvm-svn: 318271 --- llvm/lib/Support/Host.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index a7f1133465ea..9d16d4eb64d2 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/lib/Support/Host.cpp @@ -661,8 +661,9 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model, *Type = X86::INTEL_SILVERMONT; break; // "silvermont" // Goldmont: - case 0x5c: - case 0x5f: + case 0x5c: // Apollo Lake + case 0x5f: // Denverton + case 0x7a: // Gemini Lake *Type = X86::INTEL_GOLDMONT; break; // "goldmont" case 0x57: