r354915 - [X86] Add 'znver2' and 'cascadelake' to the __builtin_cpu_is test.

Topper, Craig via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 26 11:32:18 PST 2019


You're right. It was already there after Ganesh's patch this morning. I hadn't updated my clang tree so I thought it was missing. Sorry.

-----Original Message-----
From: Roman Lebedev [mailto:lebedev.ri at gmail.com] 
Sent: Tuesday, February 26, 2019 11:29 AM
To: Topper, Craig <craig.topper at intel.com>
Cc: cfe-commits at lists.llvm.org
Subject: Re: r354915 - [X86] Add 'znver2' and 'cascadelake' to the __builtin_cpu_is test.

Doesn't look like this patch added 'znver2'?

On Tue, Feb 26, 2019 at 10:20 PM Craig Topper via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> Author: ctopper
> Date: Tue Feb 26 11:20:04 2019
> New Revision: 354915
>
> URL: http://llvm.org/viewvc/llvm-project?rev=354915&view=rev
> Log:
> [X86] Add 'znver2' and 'cascadelake' to the __builtin_cpu_is test.
>
> These are supported by at least libgcc trunk so we can include them now.
>
> Modified:
>     cfe/trunk/test/CodeGen/target-builtin-noerror.c
>
> Modified: cfe/trunk/test/CodeGen/target-builtin-noerror.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/target-builtin-noerror.c?rev=354915&r1=354914&r2=354915&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGen/target-builtin-noerror.c (original)
> +++ cfe/trunk/test/CodeGen/target-builtin-noerror.c Tue Feb 26 11:20:04 2019
> @@ -98,6 +98,7 @@ void verifycpustrings() {
>    (void)__builtin_cpu_is("btver1");
>    (void)__builtin_cpu_is("btver2");
>    (void)__builtin_cpu_is("cannonlake");
> +  (void)__builtin_cpu_is("cascadelake");
>    (void)__builtin_cpu_is("core2");
>    (void)__builtin_cpu_is("corei7");
>    (void)__builtin_cpu_is("goldmont");
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


More information about the cfe-commits mailing list