[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
This commit is contained in:
Alexey Bataev
2017-12-29 18:07:07 +00:00
parent 78df5da53d
commit a8a9153a37
771 changed files with 6034 additions and 1016 deletions

View File

@@ -1,5 +1,7 @@
// RUN: %clang_cc1 -x c++ -std=c++11 -verify -fopenmp %s
// RUN: %clang_cc1 -x c++ -std=c++11 -verify -fopenmp-simd %s
struct B {
static int ib[20]; // expected-note 0 {{'B::ib' declared here}}
static constexpr int bfoo() { return 8; }