Will Schmidt
2014-Jun-24 21:43 UTC
[LLVMdev] [2/5 PATCH/RFC PPC64] add power8 keyword to host
Add Power8 and Power8E keywords to Host.cpp, both mapping to pwr8. diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 03187e9..e2dd6d5 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -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__)