[llvm] r272329 - Keep barcelona subtype for amdfam10

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 15:59:09 PDT 2016


I think we may have forgotten a rebase :)

Want to go ahead and make it one commit for posterity?

-eric

On Thu, Jun 9, 2016 at 3:54 PM Alina Sbirlea via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: asbirlea
> Date: Thu Jun  9 17:47:36 2016
> New Revision: 272329
>
> URL: http://llvm.org/viewvc/llvm-project?rev=272329&view=rev
> Log:
> Keep barcelona subtype for amdfam10
>
> 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=272329&r1=272328&r2=272329&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Support/Host.cpp (original)
> +++ llvm/trunk/lib/Support/Host.cpp Thu Jun  9 17:47:36 2016
> @@ -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:
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160609/b486ff8c/attachment.html>


More information about the llvm-commits mailing list