summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-01-04 13:58:09 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-01-04 13:58:09 +0000
commitc08b90d08fcf4ca5df8093815863044463de9257 (patch)
tree7c6c8314cb84daa77ae9b2eda5a85c0936952b0d
parentc1608f7f691438d6d457b317c681775621aeac7c (diff)
downloadbcm5719-llvm-c08b90d08fcf4ca5df8093815863044463de9257.tar.gz
bcm5719-llvm-c08b90d08fcf4ca5df8093815863044463de9257.zip
[PowerPC] Add identification for POWER8NVL
This CPU type was not previously recognized by LLVM which led to emitting poor (and sometimes incorrect) code in some JIT workloads on such a machine. llvm-svn: 290961
-rw-r--r--llvm/lib/Support/Host.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index dd19eee15f6..49d0ed55a71 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -1069,6 +1069,7 @@ StringRef sys::getHostCPUName() {
.Case("POWER7", "pwr7")
.Case("POWER8", "pwr8")
.Case("POWER8E", "pwr8")
+ .Case("POWER8NVL", "pwr8")
.Case("POWER9", "pwr9")
.Default(generic);
}
OpenPOWER on IntegriCloud