openmp: Compute number of collapsed loop iterations more efficiently for some non...
authorJakub Jelinek <jakub@redhat.com>
Tue, 4 Aug 2020 08:53:07 +0000 (10:53 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 4 Aug 2020 08:53:07 +0000 (10:53 +0200)
commit29e0ad452cdf001bccd12c1cb5f4797df1114a3a
treeb9b1b2f5799e469aa89a4dd0c19996eb47bd2a6d
parent3a3fda119036f46bfa70e06e7c69e04e78040079
openmp: Compute number of collapsed loop iterations more efficiently for some non-rectangular loops

2020-08-04  Jakub Jelinek  <jakub@redhat.com>

* omp-expand.c (expand_omp_for_init_counts): For triangular loops
compute number of iterations at runtime more efficiently.
(expand_omp_for_init_vars): Adjust immediate dominators.
(extract_omp_for_update_vars): Likewise.
gcc/omp-expand.c