summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/task_in_reduction_message.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-12-29 18:07:07 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-12-29 18:07:07 +0000
commita8a9153a372afcfe2d18399b079bfdc5fd4da626 (patch)
tree2ffdc9dbbd1c24dbbf2467c736a2bbb2470c4e52 /clang/test/OpenMP/task_in_reduction_message.cpp
parent78df5da53dc03851b08b1c10bf613eefb83d21ab (diff)
downloadbcm5719-llvm-a8a9153a372afcfe2d18399b079bfdc5fd4da626.tar.gz
bcm5719-llvm-a8a9153a372afcfe2d18399b079bfdc5fd4da626.zip
[OPENMP] Support for -fopenmp-simd option with compilation of simd loops
only. Added support for -fopenmp-simd option that allows compilation of simd-based constructs without emission of OpenMP runtime calls. llvm-svn: 321560
Diffstat (limited to 'clang/test/OpenMP/task_in_reduction_message.cpp')
-rw-r--r--clang/test/OpenMP/task_in_reduction_message.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/OpenMP/task_in_reduction_message.cpp b/clang/test/OpenMP/task_in_reduction_message.cpp
index e176dc9305b..d99d2e42d76 100644
--- a/clang/test/OpenMP/task_in_reduction_message.cpp
+++ b/clang/test/OpenMP/task_in_reduction_message.cpp
@@ -2,6 +2,11 @@
// RUN: %clang_cc1 -verify -fopenmp -std=c++98 -ferror-limit 150 -o - %s
// RUN: %clang_cc1 -verify -fopenmp -std=c++11 -ferror-limit 150 -o - %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 150 -o - %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -std=c++98 -ferror-limit 150 -o - %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -std=c++11 -ferror-limit 150 -o - %s
+// SIMD-ONLY0-NOT: {{__kmpc|__tgt}}
+
void foo() {
}
OpenPOWER on IntegriCloud