From 555794f9b1c3e4ebf2f0566c7465a0ace4f6dcf0 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 5 Jan 2017 05:57:27 +0000 Subject: [PATCH] [X86] Add Intel Kaby Lake model numbers to getHostCPUName aliased to "skylake" since there are no feature differences. Model numbers found here http://www.sandpile.org/x86/cpuid.htm git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291086 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Host.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 7593cfc98ce..8a09589aa88 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -474,8 +474,10 @@ getIntelProcessorTypeAndSubtype(unsigned int Family, unsigned int Model, break; // Skylake: - case 0x4e: - case 0x5e: + case 0x4e: // Skylake mobile + case 0x5e: // Skylake desktop + case 0x8e: // Kaby Lake mobile + case 0x9e: // Kaby Lake desktop *Type = INTEL_COREI7; // "skylake" *Subtype = INTEL_COREI7_SKYLAKE; break; -- 2.49.0