[PATCH] D21193: [cpu-detection] [amdfam10] Return barcelona, and amdfam10 for all other subtypes. Address Bug 28067.

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 15:54:02 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL272328: [cpu-detection] Return amdfam10 for all subtypes. Address Bug 28067. (authored by asbirlea).

Changed prior to commit:
  http://reviews.llvm.org/D21193?vs=60248&id=60267#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D21193

Files:
  llvm/trunk/lib/Support/Host.cpp

Index: llvm/trunk/lib/Support/Host.cpp
===================================================================
--- llvm/trunk/lib/Support/Host.cpp
+++ llvm/trunk/lib/Support/Host.cpp
@@ -869,16 +869,7 @@
         return "athlon";
       }
     case AMDFAM10H:
-      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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21193.60267.patch
Type: text/x-patch
Size: 610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160609/f7534e8a/attachment.bin>


More information about the llvm-commits mailing list