Limit x86 test to require target to fix buildbot (from 2831a317b)
authorErich Keane <erich.keane@intel.com>
Wed, 1 Jul 2020 14:34:25 +0000 (07:34 -0700)
committerErich Keane <erich.keane@intel.com>
Wed, 1 Jul 2020 14:35:39 +0000 (07:35 -0700)
The modification of the features apparently requires the backend to be
instantiated, so make sure this is required to fix the ARM build bots.

clang/test/CodeGen/target-avx-abi-diag.c

index 5b8074f..f3d4462 100644 (file)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -verify=no256,no512 -o - -S
 // RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -target-feature +avx -verify=no512 -o - -S
 // RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -target-feature +avx512f -verify=both -o - -S
+// REQUIRES: x86-registered-target
 
 // both-no-diagnostics