[clang] 19c3552 - Limit x86 test to require target to fix buildbot (from 2831a317b)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 1 07:35:54 PDT 2020


Author: Erich Keane
Date: 2020-07-01T07:35:39-07:00
New Revision: 19c35526d98699db6917cf2a6f0dd3fe7da68926

URL: https://github.com/llvm/llvm-project/commit/19c35526d98699db6917cf2a6f0dd3fe7da68926
DIFF: https://github.com/llvm/llvm-project/commit/19c35526d98699db6917cf2a6f0dd3fe7da68926.diff

LOG: Limit x86 test to require target to fix buildbot (from 2831a317b)

The modification of the features apparently requires the backend to be
instantiated, so make sure this is required to fix the ARM build bots.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/target-avx-abi-diag.c b/clang/test/CodeGen/target-avx-abi-diag.c
index 5b8074f31310..f3d4462a552d 100644
--- a/clang/test/CodeGen/target-avx-abi-diag.c
+++ b/clang/test/CodeGen/target-avx-abi-diag.c
@@ -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
 


        


More information about the cfe-commits mailing list