summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2017-09-13 21:48:00 +0000
committerEli Friedman <efriedma@codeaurora.org>2017-09-13 21:48:00 +0000
commitbde9fc76dd71799da260f5762a25c96bac7ae292 (patch)
tree6e8bda4b4a6df55443f953a3d35f311a31bef83f /llvm/lib/Support/Host.cpp
parenta2a135a01cc2862e4ff8e18ab27f2a348cadbe52 (diff)
downloadbcm5719-llvm-bde9fc76dd71799da260f5762a25c96bac7ae292.tar.gz
bcm5719-llvm-bde9fc76dd71799da260f5762a25c96bac7ae292.zip
[ARM] Add more CPUs to host detection
This returns "cortex-a73" for second-generation Kryo; not precisely correct, but close enough. Differential Revision: https://reviews.llvm.org/D37724 llvm-svn: 313200
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index ad16b02a116..ab97592d5a0 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -208,6 +208,9 @@ StringRef sys::detail::getHostCPUNameForARM(
.Case("0x06f", "krait") // APQ8064
.Case("0x201", "kryo")
.Case("0x205", "kryo")
+ .Case("0x211", "kryo")
+ .Case("0x800", "cortex-a73")
+ .Case("0x801", "cortex-a73")
.Default("generic");
return "generic";
OpenPOWER on IntegriCloud