Skip to content
Snippets Groups Projects
Commit f5761c31 authored by Richard Biener's avatar Richard Biener
Browse files

tree-optimization/97753 - fix SLP induction vect

This fixes updating of the step vectors when filling up to group_size.

2020-11-09  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/97753
	* tree-vect-loop.c (vectorizable_induction): Fill vec_steps
	when CSEing inside the group.

	* gcc.dg/vect/pr97753.c: New testcase.
parent ec735bc7
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment