Commit 6647c1e8 by Jakub Jelinek Committed by Jakub Jelinek

tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Use…

tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Use DR_TARGET_ALIGNMENT on dr_info rather than dr.

	* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Use
	DR_TARGET_ALIGNMENT on dr_info rather than dr.  Spelling fixes.

From-SVN: r267318
parent adf778df
2018-12-21 Jakub Jelinek <jakub@redhat.com>
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Use
DR_TARGET_ALIGNMENT on dr_info rather than dr. Spelling fixes.
2018-12-20 Joern Rennecke <joern.rennecke@riscy-ip.com> 2018-12-20 Joern Rennecke <joern.rennecke@riscy-ip.com>
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Don't do * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Don't do
...@@ -2163,12 +2163,12 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo) ...@@ -2163,12 +2163,12 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo)
/* Forcing alignment in the first iteration is no good if /* Forcing alignment in the first iteration is no good if
we don't keep it across iterations. For now, just disable we don't keep it across iterations. For now, just disable
versioning in this case. versioning in this case.
?? We could actually unroll the loop to archive the required ?? We could actually unroll the loop to achieve the required
overall step alignemnt, and forcing the alignment could be overall step alignment, and forcing the alignment could be
done by doing some iterations of the non-vectorized loop. */ done by doing some iterations of the non-vectorized loop. */
if (!multiple_p (LOOP_VINFO_VECT_FACTOR (loop_vinfo) if (!multiple_p (LOOP_VINFO_VECT_FACTOR (loop_vinfo)
* DR_STEP_ALIGNMENT (dr), * DR_STEP_ALIGNMENT (dr),
DR_TARGET_ALIGNMENT (dr))) DR_TARGET_ALIGNMENT (dr_info)))
{ {
do_versioning = false; do_versioning = false;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment