Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [OPENMP]Add -Wunintialized to the erroneous tests for future fix PR42392, | Alexey Bataev | 2019-07-08 | 1 | -6/+6 |
| | | | | | | NFC. llvm-svn: 365334 | ||||
* | [APSInt][OpenMP] Fix isNegative, etc. for unsigned types | Joel E. Denny | 2019-04-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, APSInt inherits APInt::isNegative, which merely checks the sign bit without regard to whether the type is actually signed. isNonNegative and isStrictlyPositive call isNegative and so are also affected. This patch adjusts APSInt to override isNegative, isNonNegative, and isStrictlyPositive with implementations that consider whether the type is signed. A large set of Clang OpenMP tests are affected. Without this patch, these tests assume that `true` is not a valid argument for clauses like `collapse`. Indeed, `true` fails APInt::isStrictlyPositive but not APSInt::isStrictlyPositive. This patch adjusts those tests to assume `true` should be accepted. This patch also adds tests revealing various other similar fixes due to APSInt::isNegative calls in Clang's ExprConstant.cpp and SemaExpr.cpp: `++` and `--` overflow in `constexpr`, evaluated object size based on `alloc_size`, `<<` and `>>` shift count validation, and OpenMP array section validation. Reviewed By: lebedev.ri, ABataev, hfinkel Differential Revision: https://reviews.llvm.org/D59712 llvm-svn: 359012 | ||||
* | [OPENMP] Support for -fopenmp-simd option with compilation of simd loops | Alexey Bataev | 2017-12-29 | 1 | -0/+4 |
| | | | | | | | | | 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 typo - the standalone 'distribute' pragma should be 'teams ↵ | Kelvin Li | 2017-01-06 | 1 | -1/+2 |
| | | | | | | distribute' pragma llvm-svn: 291260 | ||||
* | Make a few OpenMP tests "C++11 clean." | Paul Robinson | 2016-12-19 | 1 | -2/+24 |
| | | | | | | | This time trying to commit just the relevant 3 tests! Reviewed by abataev (in D27794) llvm-svn: 290128 | ||||
* | Undo accidental comit | Paul Robinson | 2016-12-19 | 1 | -24/+2 |
| | | | | llvm-svn: 290121 | ||||
* | Make a few OpenMP tests "C++11 clean." | Paul Robinson | 2016-12-19 | 1 | -2/+24 |
| | | | | | | Reviewed by abataev (in D27794) llvm-svn: 290120 | ||||
* | [OpenMP] Sema and parsing for 'teams distribute' pragma | Kelvin Li | 2016-08-05 | 1 | -0/+150 |
This patch is to implement sema and parsing for 'teams distribute' pragma. Differential Revision: https://reviews.llvm.org/D23189 llvm-svn: 277818 |