]> granicus.if.org Git - clang/commitdiff
[X86] Add 'znver2' and 'cascadelake' to the __builtin_cpu_is test.
authorCraig Topper <craig.topper@intel.com>
Tue, 26 Feb 2019 19:20:04 +0000 (19:20 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 26 Feb 2019 19:20:04 +0000 (19:20 +0000)
These are supported by at least libgcc trunk so we can include them now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354915 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/target-builtin-noerror.c

index f8d73ef9923a4a84ab3047aec85ab9b7d503e72a..364eae7ca67d2248090105d0c660f92239ecbbf9 100644 (file)
@@ -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");