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.
This commit is contained in:
Kiran Chandramohan 2020-10-26 21:26:10 +00:00
parent ad1b9daa4b
commit c551ba0e90
1 changed files with 2 additions and 0 deletions

View File

@ -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