From 0e4093c01c1c38153572a88f41c1eca62d44e848 Mon Sep 17 00:00:00 2001 From: Samuel Antao Date: Tue, 14 Jul 2015 00:09:50 +0000 Subject: [PATCH] [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 --- test/OpenMP/threadprivate_ast_print.cpp | 1 + test/OpenMP/threadprivate_codegen.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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() -- 2.40.0