forked from OSchip/llvm-project
Revert 272328 and 272329 to recommit as a single patch.
llvm-svn: 272332
This commit is contained in:
parent
2ec2324f3c
commit
e0b7bf42c2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue