[llvm] r244385 - Add model numbers for Skylake CPUs and an additional Broadwell model.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 18:29:15 PDT 2015
Author: ctopper
Date: Fri Aug 7 20:29:15 2015
New Revision: 244385
URL: http://llvm.org/viewvc/llvm-project?rev=244385&view=rev
Log:
Add model numbers for Skylake CPUs and an additional Broadwell model.
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=244385&r1=244384&r2=244385&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Fri Aug 7 20:29:15 2015
@@ -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
More information about the llvm-commits
mailing list