Re-instantiate SLP induction IV CSE
authorRichard Biener <rguenther@suse.de>
Wed, 4 Nov 2020 08:41:48 +0000 (09:41 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 4 Nov 2020 09:59:55 +0000 (10:59 +0100)
commit092cdbd9198497593fb034971d0f80fc931ab145
tree8c139f7e5f8a991b418696bdd96a0c097b0fbd6c
parent14ddf41acb96f28815b9fffe9a408be255e1ca2c
Re-instantiate SLP induction IV CSE

This re-instantiates the previously removed CSE, fixing the
FAIL of gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c
It turns out the previous approach still works.

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

* tree-vect-loop.c (vectorizable_induction): Re-instantiate
previously removed CSE of SLP IVs.
gcc/tree-vect-loop.c