Skip to content

Commit

Permalink
Run test only if X86 target is available
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kiranchandramohan committed Oct 26, 2020
1 parent ad1b9da commit c551ba0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/test/CodeGen/X86/att-inline-asm-prefix.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c551ba0

Please sign in to comment.