[llvm] r290961 - [PowerPC] Add identification for POWER8NVL
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 05:58:09 PST 2017
Author: nemanjai
Date: Wed Jan 4 07:58:09 2017
New Revision: 290961
URL: http://llvm.org/viewvc/llvm-project?rev=290961&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=290961&r1=290960&r2=290961&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Wed Jan 4 07:58:09 2017
@@ -1069,6 +1069,7 @@ StringRef sys::getHostCPUName() {
.Case("POWER7", "pwr7")
.Case("POWER8", "pwr8")
.Case("POWER8E", "pwr8")
+ .Case("POWER8NVL", "pwr8")
.Case("POWER9", "pwr9")
.Default(generic);
}
More information about the llvm-commits
mailing list