r354915 - [X86] Add 'znver2' and 'cascadelake' to the __builtin_cpu_is test.
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 26 11:20:04 PST 2019
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");
More information about the cfe-commits
mailing list