From: Craig Topper <craig.topper@gmail.com>
Date: Sat, 8 Aug 2015 01:29:15 +0000 (+0000)
Subject: Add model numbers for Skylake CPUs and an additional Broadwell model.
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f7761b487acb353d831751fb9e035ea33702d3e;p=llvm

Add model numbers for Skylake CPUs and an additional Broadwell model.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244385 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index bfc62d0997b..09f663109cb 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -368,8 +368,14 @@ StringRef sys::getHostCPUName() {
 
       // Broadwell:
       case 61:
+      case 71:
         return "broadwell";
 
+      // Skylake:
+      case 78:
+      case 94:
+        return "skylake";
+
       case 28: // Most 45 nm Intel Atom processors
       case 38: // 45 nm Atom Lincroft
       case 39: // 32 nm Atom Medfield