]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/52678 (internal compiler error: in vect_update_ivs_after_vect...
authorRichard Guenther <rguenther@suse.de>
Fri, 23 Mar 2012 11:34:32 +0000 (11:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 23 Mar 2012 11:34:32 +0000 (11:34 +0000)
commit0ac168a1cd87bfefee6f8ebad245080cfe16fc1d
tree8b6ebe34884569f079b8d732cd6e253f6ca11fac
parent6e349de504c00b9451becd66103ae96eb4b6ad56
re PR tree-optimization/52678 (internal compiler error: in vect_update_ivs_after_vectorizer, at tree-vect-loop-manip.c:1842)

2012-03-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52678
* tree-vectorizer.h (struct _stmt_vec_info): Add
loop_phi_evolution_part member.
(STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define.
* tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize
STMT_VINFO_LOOP_PHI_EVOLUTION_PART.
* tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
Use the cached evolution part and the PHI nodes value from
the loop preheader edge instead of re-analyzing the evolution.

* gfortran.dg/pr52678.f: New testcase.

From-SVN: r185734
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr52678.f [new file with mode: 0644]
gcc/tree-vect-loop-manip.c
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h
This page took 0.060939 seconds and 5 git commands to generate.