diff options
author | Dorit Nuzman <dorit@gcc.gnu.org> | 2007-10-23 19:50:18 +0000 |
---|---|---|
committer | Dorit Nuzman <dorit@gcc.gnu.org> | 2007-10-23 19:50:18 +0000 |
commit | 68cba9eee7fe480459a7277a38ab61f1b5fa2af6 (patch) | |
tree | 047fe26d7d3b1ec9ba7ad07a291d09bd776edf5b /gcc/tree-vect-analyze.c | |
parent | d1ed933d78374d661171a23892aeca9980804ca7 (diff) | |
download | gcc-68cba9eee7fe480459a7277a38ab61f1b5fa2af6.zip gcc-68cba9eee7fe480459a7277a38ab61f1b5fa2af6.tar.gz gcc-68cba9eee7fe480459a7277a38ab61f1b5fa2af6.tar.bz2 |
re PR tree-optimization/33860 (ICE in vectorizable_load, at tree-vect-transform.c:5503)
PR tree-optimization/33860
* tree-vect-transform.c (vect_analyze_data_ref_access): Don't allow
interleaved accesses in case the dr is inside the inner-loop during
outer-loop vectorization.
From-SVN: r129587
Diffstat (limited to 'gcc/tree-vect-analyze.c')
-rw-r--r-- | gcc/tree-vect-analyze.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index b91fbc0..ff81f9d 100644 --- a/gcc/tree-vect-analyze.c +++ b/gcc/tree-vect-analyze.c @@ -2322,6 +2322,10 @@ vect_analyze_data_ref_access (struct data_reference *dr) if (nested_in_vect_loop_p (loop, stmt)) { + /* Interleaved accesses are not yet supported within outer-loop + vectorization for references in the inner-loop. */ + DR_GROUP_FIRST_DR (vinfo_for_stmt (stmt)) = NULL_TREE; + /* For the rest of the analysis we use the outer-loop step. */ step = STMT_VINFO_DR_STEP (stmt_info); dr_step = TREE_INT_CST_LOW (step); |