diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-08-05 10:37:25 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-08-05 10:37:25 +0200 |
commit | 325714b4968050c927fe72f4a4ba860da2bf4ee2 (patch) | |
tree | 8d37302a45c3750e4ced2fc50b0fb164e48bcd4f /gcc/tree-ssa-loop-im.c | |
parent | 5998f1bbeb336d0b9aee86726291269fd8bb6a66 (diff) | |
download | gcc-325714b4968050c927fe72f4a4ba860da2bf4ee2.zip gcc-325714b4968050c927fe72f4a4ba860da2bf4ee2.tar.gz gcc-325714b4968050c927fe72f4a4ba860da2bf4ee2.tar.bz2 |
openmp: Use more efficient logical -> actual computation even if # iterations is computed at runtime
For triangular loops use more efficient logical iteration number
to actual iterator values computation even for non-rectangular loops
where number of loop iterations could not be computed at compile time.
2020-08-05 Jakub Jelinek <jakub@redhat.com>
* omp-expand.c (expand_omp_for_init_counts): Remember
first_inner_iterations, factor and n1o from the number of iterations
computation in *fd.
(expand_omp_for_init_vars): Use more efficient logical iteration number
to actual iterator values computation even for non-rectangular loops
where number of loop iterations could not be computed at compile time.
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions