projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556ee67
)
[X86] Fix cpu name typos
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 28 Oct 2020 15:50:32 +0000
(15:50 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 28 Oct 2020 15:50:53 +0000
(15:50 +0000)
As discussed on PR26418 rGea84dc9500df incorrectly set the knl cpuname to tremont (and missed out the tremont cpuname entirely).
llvm/lib/Support/Host.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Host.cpp
b/llvm/lib/Support/Host.cpp
index e30ccfc2867f8a96886fffbfa81064eac0fc7a1a..b41717d96a12d61eb0088b98b12be08619d25f04 100644
(file)
--- a/
llvm/lib/Support/Host.cpp
+++ b/
llvm/lib/Support/Host.cpp
@@
-767,14
+767,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;