From 3e1ccbe8ba8ac463cde33f8627f78a32b120e68d 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. llvm-svn: 242090 --- clang/test/OpenMP/threadprivate_ast_print.cpp | 1 + clang/test/OpenMP/threadprivate_codegen.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/test/OpenMP/threadprivate_ast_print.cpp b/clang/test/OpenMP/threadprivate_ast_print.cpp index f6b38a6..2d876c1 100644 --- a/clang/test/OpenMP/threadprivate_ast_print.cpp +++ b/clang/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/clang/test/OpenMP/threadprivate_codegen.cpp b/clang/test/OpenMP/threadprivate_codegen.cpp index 7c096eb..7176e04 100644 --- a/clang/test/OpenMP/threadprivate_codegen.cpp +++ b/clang/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.7.4