Author: Kiran Chandramohan
Date: 2020-10-26T21:28:59Z
New Revision: c551ba0e90bd2b49ef501d591f8362ba44e5484d

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

LOG: Run test only if X86 target is available

This fixes failures in AArch64 buildbots by running the
clang/test/CodeGen/X86/att-inline-asm-prefix.c only when the X86
target is available.

Added: 
    

Modified: 
    clang/test/CodeGen/X86/att-inline-asm-prefix.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/X86/att-inline-asm-prefix.c 
b/clang/test/CodeGen/X86/att-inline-asm-prefix.c
index 9bd0d937d86e6..789e1f98a2a15 100644
--- a/clang/test/CodeGen/X86/att-inline-asm-prefix.c
+++ b/clang/test/CodeGen/X86/att-inline-asm-prefix.c
@@ -1,3 +1,5 @@
+// REQUIRES: x86-registered-target
+
 // RUN:%clang_cc1 %s -ferror-limit 0 -triple=x86_64-pc -target-feature 
+avx512f -target-feature +avx2 -target-feature +avx512vl -S -o -  | FileCheck 
%s -check-prefix CHECK
 
 // This test is to check if the prefix in inline assembly is correctly


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to