diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-08-13 09:06:05 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 15:08:08 -0300 |
commit | 28a420aa62209f378ecf590834edd8013ba85867 (patch) | |
tree | 54618adc7e86d945740e6428540621eb9bacdfeb /gcc/fortran | |
parent | 57dae537affbe588c552114b86f626a9008434bd (diff) | |
download | gcc-28a420aa62209f378ecf590834edd8013ba85867.zip gcc-28a420aa62209f378ecf590834edd8013ba85867.tar.gz gcc-28a420aa62209f378ecf590834edd8013ba85867.tar.bz2 |
openmp: Add support for non-rectangular loops in taskloop construct
2020-08-13 Jakub Jelinek <jakub@redhat.com>
* gimplify.c (gimplify_omp_taskloop_expr): New function.
(gimplify_omp_for): Use it. For OMP_FOR_NON_RECTANGULAR
loops adjust in outer taskloop the var-outer decls.
* omp-expand.c (expand_omp_taskloop_for_inner): Handle non-rectangular
loops.
(expand_omp_for): Don't reject non-rectangular taskloop.
* omp-general.c (omp_extract_for_data): Don't assert that
non-rectangular loops have static schedule, instead treat loop->m1
or loop->m2 as if loop->n1 or loop->n2 is non-constant.
* testsuite/libgomp.c/loop-22.c (main): Add some further tests.
* testsuite/libgomp.c/loop-23.c (main): Likewise.
* testsuite/libgomp.c/loop-24.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions