Revert 272328 and 272329 to recommit as a single patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alina Sbirlea 2016-06-09 23:04:05 +00:00
parent 05161061c3
commit 3bd97ac17f

View File

@ -869,9 +869,16 @@ StringRef sys::getHostCPUName() {
return "athlon";
}
case AMDFAM10H:
if(Subtype == AMDFAM10H_BARCELONA)
return "barcelona";
return "amdfam10";
switch (Subtype) {
case AMDFAM10H_BARCELONA:
return "amdfam10-barcelona";
case AMDFAM10H_SHANGHAI:
return "amdfam10-shanghai";
case AMDFAM10H_ISTANBUL:
return "amdfam10-istanbul";
default:
return "amdfam10";
}
case AMDFAM14H:
return "btver1";
case AMDFAM15H: