[X86] Add icelake-client and tremont model numbers to getHostCPUName.
llvm-svn: 361174
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 4a7eff3..d47b4d6 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -681,6 +681,12 @@
*Subtype = X86::INTEL_COREI7_CANNONLAKE; // "cannonlake"
break;
+ // Icelake:
+ case 0x7e:
+ *Type = X86::INTEL_COREI7;
+ *Subtype = X86::INTEL_COREI7_ICELAKE_CLIENT; // "icelake-client"
+ break;
+
case 0x1c: // Most 45 nm Intel Atom processors
case 0x26: // 45 nm Atom Lincroft
case 0x27: // 32 nm Atom Medfield
@@ -706,6 +712,9 @@
case 0x7a:
*Type = X86::INTEL_GOLDMONT_PLUS;
break;
+ case 0x86:
+ *Type = X86::INTEL_TREMONT;
+ break;
case 0x57:
*Type = X86::INTEL_KNL; // knl
break;