summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/taskloop_reduction_codegen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP] General code improvements.Alexey Bataev2018-04-161-5/+5
| | | | llvm-svn: 330140
* [OPENMP] Fix the address of the original variable in task reductions.Alexey Bataev2018-03-091-1/+3
| | | | | | | | If initialization of the task reductions requires pointer to original variable, which is stored in the threadprivate storage, we used the address of this pointer instead. llvm-svn: 327136
* [OPENMP] Emit sizes/init ptrs etc. data for task reductions beforeAlexey Bataev2018-03-081-0/+11
| | | | | | | | | | | using. We may emit the code in wrong order because of incorrect implementation of the runtime functions for task reductions. Threadprivate storages may be initialized after real initialization of the reduction items. Patch fixes this problem. llvm-svn: 327008
* Change memcpy/memove/memset to have dest and source alignment attributes ↵Daniel Neilson2018-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | (Step 1). Summary: Upstream LLVM is changing the the prototypes of the @llvm.memcpy/memmove/memset intrinsics. This change updates the Clang tests for this change. The @llvm.memcpy/memmove/memset intrinsics currently have an explicit argument which is required to be a constant integer. It represents the alignment of the dest (and source), and so must be the minimum of the actual alignment of the two. This change removes the alignment argument in favour of placing the alignment attribute on the source and destination pointers of the memory intrinsic call. For example, code which used to read: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 100, i32 4, i1 false) will now read call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %dest, i8* align 4 %src, i32 100, i1 false) At this time the source and destination alignments must be the same (Step 1). Step 2 of the change, to be landed shortly, will relax that contraint and allow the source and destination to have different alignments. llvm-svn: 322964
* [OPENMP] Fix debug info for outlined functions in NVPTX + add more tests.Alexey Bataev2018-01-081-19/+28
| | | | | | | Fixed name of emitted outlined functions in NVPTX target + extra tests for the debug info. llvm-svn: 322022
* [OPENMP] Support for -fopenmp-simd option with compilation of simd loopsAlexey Bataev2017-12-291-0/+3
| | | | | | | | | only. Added support for -fopenmp-simd option that allows compilation of simd-based constructs without emission of OpenMP runtime calls. llvm-svn: 321560
* Switch to gnu++14 as the default dialect.Tim Northover2017-12-091-1/+1
| | | | | | This is C++14 with conforming GNU extensions. llvm-svn: 320250
* [OPENMP] Fix PR35486: crash when collapsing loops with dependent iteration ↵Alexey Bataev2017-12-041-0/+1
| | | | | | | | | | spaces. Though it is incorrect from point of view of OpenMP standard to have dependent iteration space in OpenMP loops, compiler should not crash. Patch fixes this problem. llvm-svn: 319700
* [OPENMP][DEBUG] Fix for PR33676: Debug info for OpenMP region is broken.Alexey Bataev2017-08-141-1/+2
| | | | | | | After some changes in clang/LLVM debug info for task-based regions was not generated at all. Patch fixes this problem. llvm-svn: 310850
* [OPENMP] Pacify windows buildbots, NFC.Alexey Bataev2017-07-181-37/+1
| | | | llvm-svn: 308243
* [OPENMP] Fix reduction combiner testAlexey Bataev2017-07-171-1/+1
| | | | llvm-svn: 308183
* [OPENMP] Further fixes of the reduction codegen testsAlexey Bataev2017-07-171-70/+70
| | | | llvm-svn: 308182
* [OPENMP] Further test fixes.Alexey Bataev2017-07-171-58/+58
| | | | llvm-svn: 308178
* [OPENMP] Rework tests to pacify buildbots.Alexey Bataev2017-07-171-3/+1
| | | | llvm-svn: 308176
* [OPENMP] Codegen for reduction clauses in 'taskloop' directives.Alexey Bataev2017-07-171-0/+235
Adds codegen for taskloop-based directives. llvm-svn: 308174
OpenPOWER on IntegriCloud