From: Alexey Bataev Date: Tue, 16 Apr 2019 14:26:10 +0000 (+0000) Subject: [OPENMP]Require aarch arch for the tests, NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2201cc83eb9f6c7f2deb6010ed19a7e216e28681;p=clang [OPENMP]Require aarch arch for the tests, NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358493 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/OpenMP/declare_simd_aarch64.c b/test/OpenMP/declare_simd_aarch64.c index 942c0e98b9..eff0eed07d 100644 --- a/test/OpenMP/declare_simd_aarch64.c +++ b/test/OpenMP/declare_simd_aarch64.c @@ -1,3 +1,4 @@ +// REQUIRES: aarch64-registered-target // -fopemp and -fopenmp-simd behavior are expected to be the same. // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +neon -fopenmp -x c -emit-llvm %s -o - -femit-all-decls | FileCheck %s --check-prefix=AARCH64 diff --git a/test/OpenMP/declare_simd_aarch64.cpp b/test/OpenMP/declare_simd_aarch64.cpp index ac7dd85231..2cd6d3986f 100644 --- a/test/OpenMP/declare_simd_aarch64.cpp +++ b/test/OpenMP/declare_simd_aarch64.cpp @@ -1,3 +1,4 @@ +// REQUIRES: aarch64-registered-target // -fopemp and -fopenmp-simd behavior are expected to be the same. // RUN: %clang_cc1 -verify -triple aarch64-linux-gnu -target-feature +neon -fopenmp -x c++ -emit-llvm %s -o - -femit-all-decls -verify| FileCheck %s --check-prefix=ADVSIMD diff --git a/test/OpenMP/declare_simd_aarch64_complex.c b/test/OpenMP/declare_simd_aarch64_complex.c index 97666b22ae..d2bf1c585b 100644 --- a/test/OpenMP/declare_simd_aarch64_complex.c +++ b/test/OpenMP/declare_simd_aarch64_complex.c @@ -1,3 +1,4 @@ +// REQUIRES: aarch64-registered-target // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +neon -fopenmp -x c -std=c11 -emit-llvm %s -o - -femit-all-decls | FileCheck %s // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +sve -fopenmp -x c -std=c11 -emit-llvm %s -o - -femit-all-decls | FileCheck %s --check-prefix=SVE diff --git a/test/OpenMP/declare_simd_aarch64_fix.c b/test/OpenMP/declare_simd_aarch64_fix.c index 29141f20b4..87e39e524b 100644 --- a/test/OpenMP/declare_simd_aarch64_fix.c +++ b/test/OpenMP/declare_simd_aarch64_fix.c @@ -1,3 +1,4 @@ +// REQUIRES: aarch64-registered-target // This test is making sure that no crash happens. // RUN: %clang -o - -fno-fast-math -S -target aarch64-linux-gnu \ diff --git a/test/OpenMP/declare_simd_aarch64_sve.c b/test/OpenMP/declare_simd_aarch64_sve.c index 7771dc6538..6c5dcead83 100644 --- a/test/OpenMP/declare_simd_aarch64_sve.c +++ b/test/OpenMP/declare_simd_aarch64_sve.c @@ -1,3 +1,4 @@ +// REQUIRES: aarch64-registered-target // -fopemp and -fopenmp-simd behavior are expected to be the same // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +sve \ diff --git a/test/OpenMP/declare_simd_aarch64_warning_advsimd.c b/test/OpenMP/declare_simd_aarch64_warning_advsimd.c index 55dc960e21..594013d25b 100644 --- a/test/OpenMP/declare_simd_aarch64_warning_advsimd.c +++ b/test/OpenMP/declare_simd_aarch64_warning_advsimd.c @@ -1,3 +1,4 @@ +// REQUIRES: aarch64-registered-target // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +neon -fopenmp %s -S -o %t -verify // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +neon -fopenmp-simd %s -S -o %t -verify diff --git a/test/OpenMP/declare_simd_aarch64_warning_sve.c b/test/OpenMP/declare_simd_aarch64_warning_sve.c index 1ed432390c..0d66ce143c 100644 --- a/test/OpenMP/declare_simd_aarch64_warning_sve.c +++ b/test/OpenMP/declare_simd_aarch64_warning_sve.c @@ -1,3 +1,4 @@ +// REQUIRES: aarch64-registered-target // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +sve -fopenmp %s -S -o %t -verify // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +sve -fopenmp-simd %s -S -o %t -verify