summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/parallel_codegen.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert back r219295.Alexey Bataev2014-10-081-8/+8
| | | | | | To fix issues with test OpenMP/parallel_firstprivate_codegen.cpp llvm-svn: 219296
* [OPENMP] Codegen for 'firstprivate' clause.Alexey Bataev2014-10-081-8/+8
| | | | | | | | This patch generates some helper variables that used as private copies of the corresponding original variables inside an OpenMP 'parallel' directive. These generated variables are initialized by copy using values of the original variables (with the copy constructor, if any). For arrays, initializator is generated for single element and in the codegen procedure this initial value is automatically propagated between all elements of the private copy. In outlined function, references to original variables are replaced by the references to these private helper variables. At the end of the initialization of the private variables an implicit barier is generated by calling __kmpc_barrier(...) runtime function to be sure that all threads were initialized using original values of the variables. Differential Revision: http://reviews.llvm.org/D5140 llvm-svn: 219295
* allow optional signext attributeWill Schmidt2014-06-021-5/+5
| | | | | | | Allow the tests to succeed with tne signext (or other) attribute is present. The attributes show up for Power, but not for x86*, so need to be appropriately wildcarded. llvm-svn: 210050
* [OPENMP] Another one fix in test for msvcAlexey Bataev2014-05-081-4/+4
| | | | llvm-svn: 208279
* [OPENMP] Fix codegen test for msvc buildAlexey Bataev2014-05-081-2/+2
| | | | llvm-svn: 208278
* [OPENMP] Fixed checking for mangled names in parallel_codegen.cpp testAlexey Bataev2014-05-071-12/+12
| | | | llvm-svn: 208165
* [OPENMP] Fixed problem with temp removal on some platforms in codegen for ↵Alexey Bataev2014-05-071-2/+0
| | | | | | '#pragma omp parallel' llvm-svn: 208162
* [OPENMP] Temporarily disable test parallel_codegen.cppAlexey Bataev2014-05-071-0/+2
| | | | llvm-svn: 208156
* [OPENMP] Another one fix for codegen test '#pragma omp parallel'Alexey Bataev2014-05-061-1/+1
| | | | llvm-svn: 208087
* [OPENMP] Fixed test for '#pragma omp parallel' codegenAlexey Bataev2014-05-061-48/+46
| | | | llvm-svn: 208086
* [OPENMP] Temporary disable test for parallel codegenAlexey Bataev2014-05-061-1/+2
| | | | llvm-svn: 208078
* [OPENMP] Initial codegen for '#pragma omp parallel'Alexey Bataev2014-05-061-0/+146
llvm-svn: 208077
OpenPOWER on IntegriCloud