diff --git a/compiler-rt/lib/builtins/cpu_model/x86.c b/compiler-rt/lib/builtins/cpu_model/x86.c index dbe6094541f63..23f8fa3e1fd49 100644 --- a/compiler-rt/lib/builtins/cpu_model/x86.c +++ b/compiler-rt/lib/builtins/cpu_model/x86.c @@ -649,6 +649,7 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family, CPU = "k8"; break; case 16: + case 18: CPU = "amdfam10"; *Type = AMDFAM10H; // "amdfam10" switch (Model) { diff --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp index 6e175f25c4882..6e1f4b6052bda 100644 --- a/llvm/lib/TargetParser/Host.cpp +++ b/llvm/lib/TargetParser/Host.cpp @@ -1050,6 +1050,7 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family, CPU = "k8"; break; case 16: + case 18: CPU = "amdfam10"; *Type = X86::AMDFAM10H; // "amdfam10" switch (Model) {