Add model numbers for Skylake CPUs and an additional Broadwell model.
authorCraig Topper <craig.topper@gmail.com>
Sat, 8 Aug 2015 01:29:15 +0000 (01:29 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 8 Aug 2015 01:29:15 +0000 (01:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244385 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Host.cpp

index bfc62d0..09f6631 100644 (file)
@@ -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