diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2015-07-13 22:54:53 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2015-07-13 22:54:53 +0000 |
commit | fcf87ff162da88cda1d2db3cbbfed4efa35f4f9c (patch) | |
tree | a5d0d531dbb0f4fc6b364866ca1cbc48bf4da89d /test/Driver/ppc-features.cpp | |
parent | c5920d028947df0d271a93ff32af6390c4a18b5a (diff) | |
download | clang-fcf87ff162da88cda1d2db3cbbfed4efa35f4f9c.tar.gz |
[OpenMP] Add TLS-based implementation for threadprivate directive.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/ppc-features.cpp')
-rw-r--r-- | test/Driver/ppc-features.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Driver/ppc-features.cpp b/test/Driver/ppc-features.cpp index 8ef8318469..947183c61f 100644 --- a/test/Driver/ppc-features.cpp +++ b/test/Driver/ppc-features.cpp @@ -142,4 +142,8 @@ // RUN: %clang -target powerpc64le-unknown-linux-gnu %s -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK_LE_LD_ARGS %s // CHECK_LE_LD_ARGS: "elf64lppc" - +// OpenMP features +// RUN: %clang -target powerpc-unknown-linux-gnu %s -### -fopenmp=libomp -o %t.o 2>&1 | FileCheck -check-prefix=CHECK_OPENMP_TLS %s +// RUN: %clang -target powerpc64-unknown-linux-gnu %s -### -fopenmp=libomp -o %t.o 2>&1 | FileCheck -check-prefix=CHECK_OPENMP_TLS %s +// RUN: %clang -target powerpc64le-unknown-linux-gnu %s -### -fopenmp=libomp -o %t.o 2>&1 | FileCheck -check-prefix=CHECK_OPENMP_TLS %s +// CHECK_OPENMP_TLS-NOT: "-fnoopenmp-use-tls" |