From 529ffe48c2120f3c301b50f6e8eff72c2b0ef9a5 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 12 Jul 2017 06:49:55 +0000 Subject: [PATCH] [X86] Remove 'barcelona' string from getHostCPUName. Use 'amdfam10' instead. The x86 backend doesn't distinguish. llvm-svn: 307755 --- lib/Support/Host.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 539fd61b2ce..817375b64dc 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -1119,8 +1119,6 @@ StringRef sys::getHostCPUName() { return "athlon"; } case AMDFAM10H: - if(Subtype == AMDFAM10H_BARCELONA) - return "barcelona"; return "amdfam10"; case AMDFAM14H: return "btver1";