r318619 - [X86] Make sure 'knm' and 'cannonlake' are accepted by builtin_cpu_is
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 18 20:12:34 PST 2017
Author: ctopper
Date: Sat Nov 18 20:12:33 2017
New Revision: 318619
URL: http://llvm.org/viewvc/llvm-project?rev=318619&view=rev
Log:
[X86] Make sure 'knm' and 'cannonlake' are accepted by builtin_cpu_is
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=318619&r1=318618&r2=318619&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/target-builtin-noerror.c (original)
+++ cfe/trunk/test/CodeGen/target-builtin-noerror.c Sat Nov 18 20:12:33 2017
@@ -92,6 +92,7 @@ void verifycpustrings() {
(void)__builtin_cpu_is("broadwell");
(void)__builtin_cpu_is("btver1");
(void)__builtin_cpu_is("btver2");
+ (void)__builtin_cpu_is("cannonlake");
(void)__builtin_cpu_is("core2");
(void)__builtin_cpu_is("corei7");
(void)__builtin_cpu_is("haswell");
@@ -99,6 +100,7 @@ void verifycpustrings() {
(void)__builtin_cpu_is("istanbul");
(void)__builtin_cpu_is("ivybridge");
(void)__builtin_cpu_is("knl");
+ (void)__builtin_cpu_is("knm");
(void)__builtin_cpu_is("nehalem");
(void)__builtin_cpu_is("sandybridge");
(void)__builtin_cpu_is("shanghai");
More information about the cfe-commits
mailing list