aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2021-01-02 21:13:33 +0000
committerDimitry Andric <dim@FreeBSD.org>2021-01-02 21:13:33 +0000
commit1de062e1e530408f5a06466742b26722c230c024 (patch)
treebf2beb8362ad464e07f3691864f6ebd060a4b154 /llvm/lib/Support/Host.cpp
parent30078f49665261b45a7cebc2f05a5206301e29a6 (diff)
llvmorg-11.0.1-rc2-0-g43ff75f2c3f (aka 11.0.1 rc2).
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 658c1ee74cfe..36cecf9b2a16 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -760,14 +760,15 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
*Type = X86::INTEL_GOLDMONT_PLUS;
break;
case 0x86:
+ CPU = "tremont";
*Type = X86::INTEL_TREMONT;
break;
+ // Xeon Phi (Knights Landing + Knights Mill):
case 0x57:
- CPU = "tremont";
+ CPU = "knl";
*Type = X86::INTEL_KNL;
break;
-
case 0x85:
CPU = "knm";
*Type = X86::INTEL_KNM;