This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r227124 - in /trunk: gcc/ChangeLog gcc/omp-low....
- From: vries at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 24 Aug 2015 13:14:17 -0000
- Subject: r227124 - in /trunk: gcc/ChangeLog gcc/omp-low....
Author: vries
Date: Mon Aug 24 13:14:17 2015
New Revision: 227124
URL: https://gcc.gnu.org/viewcvs?rev=227124&root=gcc&view=rev
Log:
Optimize expand_omp_for_static_chunk for chunk_size one
2015-08-24 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/65468
* omp-low.c (expand_omp_for_static_chunk): Remove inner loop if
chunk_size is one.
* gcc.dg/gomp/static-chunk-size-one.c: New test.
* testsuite/libgomp.c/static-chunk-size-one.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/gomp/static-chunk-size-one.c
trunk/libgomp/testsuite/libgomp.c/static-chunk-size-one.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/gcc/testsuite/ChangeLog
trunk/libgomp/ChangeLog