[PATCH PR70729] The second part of patch.

Yuri Rumyantsev ysrumyan@gmail.com
Tue Jun 28 15:56:00 GMT 2016


Hi All!

Here is the second part of patch to improve loop invariant code motion
for loop marked with pragma omp simd.

Bootstrapping and regression testing did not show any new failures.
Is it OK for trunk?

ChangeLog:
2016-06-28  Yuri Rumyantsev  <ysrumyan@gmail.com>

PR tree-optimization/70729
* tree-ssa-loop-im.c (ref_indep_loop_p_1): Consider memory reference as
independent in loops having positive safelen value.
* tree-vect-loop.c (vect_transform_loop): Clear-up safelen value since
it may be not valid after vectorization.

gcc/testsuite/ChangeLog
* g++.dg/vect/pr70729.cc: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.3
Type: application/octet-stream
Size: 3233 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160628/2f887235/attachment.obj>


More information about the Gcc-patches mailing list