From c551ba0e90bd2b49ef501d591f8362ba44e5484d Mon Sep 17 00:00:00 2001 From: Kiran Chandramohan Date: Mon, 26 Oct 2020 21:26:10 +0000 Subject: [PATCH] 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. --- clang/test/CodeGen/X86/att-inline-asm-prefix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/test/CodeGen/X86/att-inline-asm-prefix.c b/clang/test/CodeGen/X86/att-inline-asm-prefix.c index 9bd0d937d86e..789e1f98a2a1 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