[llvm] r211781 - Add support for ppc64/power8 as a host
Will Schmidt
will_schmidt at vnet.ibm.com
Thu Jun 26 06:37:03 PDT 2014
Author: willschm
Date: Thu Jun 26 08:37:03 2014
New Revision: 211781
URL: http://llvm.org/viewvc/llvm-project?rev=211781&view=rev
Log:
Add support for ppc64/power8 as a host
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=211781&r1=211780&r2=211781&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Thu Jun 26 08:37:03 2014
@@ -570,6 +570,8 @@ StringRef sys::getHostCPUName() {
.Case("A2", "a2")
.Case("POWER6", "pwr6")
.Case("POWER7", "pwr7")
+ .Case("POWER8", "pwr8")
+ .Case("POWER8E", "pwr8")
.Default(generic);
}
#elif defined(__linux__) && defined(__arm__)
More information about the llvm-commits
mailing list