Keep barcelona subtype for amdfam10

llvm-svn: 272329
This commit is contained in:
Alina Sbirlea 2016-06-09 22:47:36 +00:00
parent e76dcd2b12
commit 4acea0aa22
1 changed files with 3 additions and 1 deletions

View File

@ -869,7 +869,9 @@ StringRef sys::getHostCPUName() {
return "athlon";
}
case AMDFAM10H:
return "amdfam10";
if(Subtype == AMDFAM10H_BARCELONA)
return "barcelona";
return "amdfam10";
case AMDFAM14H:
return "btver1";
case AMDFAM15H: