From: Samuel Antao Date: Tue, 14 Jul 2015 00:09:50 +0000 (+0000) Subject: [OpenMP] Add REQUIRES pragma to threadprivate regression tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e4093c01c1c38153572a88f41c1eca62d44e848;p=clang [OpenMP] Add REQUIRES pragma to threadprivate regression tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242090 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/OpenMP/threadprivate_ast_print.cpp b/test/OpenMP/threadprivate_ast_print.cpp index f6b38a6f99..2d876c1909 100644 --- a/test/OpenMP/threadprivate_ast_print.cpp +++ b/test/OpenMP/threadprivate_ast_print.cpp @@ -5,6 +5,7 @@ // RUN: %clang_cc1 -fopenmp -fnoopenmp-use-tls -triple x86_64-unknown-linux-gnu -x c++ -std=c++11 -emit-pch -o %t %s // RUN: %clang_cc1 -fopenmp -fnoopenmp-use-tls -triple x86_64-unknown-linux-gnu -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print // expected-no-diagnostics +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER diff --git a/test/OpenMP/threadprivate_codegen.cpp b/test/OpenMP/threadprivate_codegen.cpp index 7c096eb0c8..7176e04992 100644 --- a/test/OpenMP/threadprivate_codegen.cpp +++ b/test/OpenMP/threadprivate_codegen.cpp @@ -7,6 +7,7 @@ // RUN: %clang_cc1 -fopenmp -DBODY -x c++ -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -g -std=c++11 -include-pch %t -verify %s -emit-llvm -o - | FileCheck --check-prefix=CHECK-TLS %s // expected-no-diagnostics +// REQUIRES: x86-registered-target #ifndef HEADER #define HEADER // CHECK-DAG: [[IDENT:%.+]] = type { i32, i32, i32, i32, i8* } @@ -30,7 +31,6 @@ // CHECK-TLS-DAG: [[S5:%.+]] = type { [[INT]], [[INT]], [[INT]] } // CHECK-TLS-DAG: [[SMAIN:%.+]] = type { [[INT]], double, double } -// REQUIRES: x86-registered-target struct S1 { int a; S1()