diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-08-05 10:37:25 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 15:07:38 -0300 |
commit | d45fad83aeaa599f9e3a4fb39430e0ae6867d158 (patch) | |
tree | 715c26d42949f307beb858c2de39b90af0c7c40d /gcc/cp/constexpr.c | |
parent | 0df620923eac1de75788bf3f0f8bd52b8289b5c3 (diff) | |
download | gcc-d45fad83aeaa599f9e3a4fb39430e0ae6867d158.zip gcc-d45fad83aeaa599f9e3a4fb39430e0ae6867d158.tar.gz gcc-d45fad83aeaa599f9e3a4fb39430e0ae6867d158.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/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions