From: Nemanja Ivanovic Date: Wed, 4 Jan 2017 13:58:09 +0000 (+0000) Subject: [PowerPC] Add identification for POWER8NVL X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3fddb5c1148c1d736f344a7c193bca136d686cd4;p=llvm [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290961 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index dd19eee15f6..49d0ed55a71 100644 --- a/lib/Support/Host.cpp +++ b/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); }