Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [OPENMP]Add -Wunintialized to the erroneous tests for future fix PR42392, | Alexey Bataev | 2019-07-08 | 1 | -2/+2 |
| | | | | | | NFC. llvm-svn: 365334 | ||||
* | [OPENMP]Initial support for 'allocate' clause. | Alexey Bataev | 2019-03-27 | 1 | -1/+1 |
| | | | | | | Added parsing/sema analysis of the allocate clause. llvm-svn: 357068 | ||||
* | PR40642: Fix determination of whether the final statement of a statement | Richard Smith | 2019-02-15 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expression is a discarded-value expression. Summary: We used to get this wrong in three ways: 1) During parsing, an expression-statement followed by the }) ending a statement expression was always treated as producing the value of the statement expression. That's wrong for ({ if (1) expr; }) 2) During template instantiation, various kinds of statement (most statements not appearing directly in a compound-statement) were not treated as discarded-value expressions, resulting in missing volatile loads (etc). 3) In all contexts, an expression-statement with attributes was not treated as producing the value of the statement expression, eg ({ [[attr]] expr; }). Also fix incorrect enforcement of OpenMP rule that directives can "only be placed in the program at a position where ignoring or deleting the directive would result in a program with correct syntax". In particular, a label (be it goto, case, or default) should not affect whether directives are permitted. Reviewers: aaron.ballman, rjmccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D57984 llvm-svn: 354090 | ||||
* | [OPENMP] Support for -fopenmp-simd option with compilation of simd loops | Alexey Bataev | 2017-12-29 | 1 | -0/+2 |
| | | | | | | | | | only. Added support for -fopenmp-simd option that allows compilation of simd-based constructs without emission of OpenMP runtime calls. llvm-svn: 321560 | ||||
* | [OPENMP] Fix for declarative/standalone directives use. | Alexey Bataev | 2016-01-13 | 1 | -4/+4 |
| | | | | | | Fixes processing of declarative directives and standalone executable directives. Declarative directives should not be allowed as an immediate statements and standalone executable directives are allowed to be used in case-stmt constructs. llvm-svn: 257586 | ||||
* | [OPENMP] -fopenmp enables OpenMP support (fix for http://llvm.org/PR23492) | Alexey Bataev | 2015-05-20 | 1 | -1/+1 |
| | | | | | | | -fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified). Differential Revision: http://reviews.llvm.org/D9736 llvm-svn: 237769 | ||||
* | [OPENMP] Initial parsing and sema analysis for 'taskwait' directive. | Alexey Bataev | 2014-07-18 | 1 | -0/+110 |
llvm-svn: 213363 |