Re: [PATCH] tree-optimization/101120 - fix compile-time issue with SLP groups

2021-06-21 Thread Richard Biener via Gcc-patches
On Fri, Jun 18, 2021 at 4:24 PM Richard Biener wrote: > > On Fri, Jun 18, 2021 at 2:23 PM Richard Biener wrote: > > > > This places two hacks to avoid an old compile-time issue when > > vectorizing large permuted SLP groups with gaps where we end up > > emitting loads and IV adjustments for the g

Re: [PATCH] tree-optimization/101120 - fix compile-time issue with SLP groups

2021-06-18 Thread Richard Biener via Gcc-patches
On Fri, Jun 18, 2021 at 2:23 PM Richard Biener wrote: > > This places two hacks to avoid an old compile-time issue when > vectorizing large permuted SLP groups with gaps where we end up > emitting loads and IV adjustments for the gap as well and those > have quite a high cost until they are eventu

[PATCH] tree-optimization/101120 - fix compile-time issue with SLP groups

2021-06-18 Thread Richard Biener
This places two hacks to avoid an old compile-time issue when vectorizing large permuted SLP groups with gaps where we end up emitting loads and IV adjustments for the gap as well and those have quite a high cost until they are eventually cleaned up. The first hack is to fold the auto-inc style IV