[llvm] r307755 - [X86] Remove 'barcelona' string from getHostCPUName. Use 'amdfam10' instead. The x86 backend doesn't distinguish.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 23:49:55 PDT 2017
Author: ctopper
Date: Tue Jul 11 23:49:55 2017
New Revision: 307755
URL: http://llvm.org/viewvc/llvm-project?rev=307755&view=rev
Log:
[X86] Remove 'barcelona' string from getHostCPUName. Use 'amdfam10' instead. The x86 backend doesn't distinguish.
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=307755&r1=307754&r2=307755&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Tue Jul 11 23:49:55 2017
@@ -1119,8 +1119,6 @@ StringRef sys::getHostCPUName() {
return "athlon";
}
case AMDFAM10H:
- if(Subtype == AMDFAM10H_BARCELONA)
- return "barcelona";
return "amdfam10";
case AMDFAM14H:
return "btver1";
More information about the llvm-commits
mailing list