openmp: Compute triangular loop number of iterations at compile time
authorJakub Jelinek <jakub@redhat.com>
Mon, 22 Jun 2020 09:06:08 +0000 (11:06 +0200)
committerJakub Jelinek <jakub@redhat.com>
Mon, 22 Jun 2020 09:06:59 +0000 (11:06 +0200)
commitc154b8bc56831e4d9d421c52c8fcf95c570255ad
tree79184317fc6e7ee3c851d6ad9b4146071603735d
parentf4670347f10d36816e7da08796f96f087094ba58
openmp: Compute triangular loop number of iterations at compile time

2020-06-22  Jakub Jelinek  <jakub@redhat.com>

* omp-general.c (omp_extract_for_data): For triangular loops with
all loop invariant expressions constant where the innermost loop is
executed at least once compute number of iterations at compile time.
gcc/omp-general.c