Re: [PATCH 1/2] middle-end/116083 - vectorizer slowness

2025-04-28 Thread Richard Biener
On Sat, Dec 14, 2024 at 9:22 PM Jeff Law wrote: > > > > On 12/3/24 10:07 AM, Richard Biener wrote: > > Turns out SLP discovery can end up doing a lot of vector type > > builds from scalar types. Those are all ultimatively cached but > > end up built and layouted first. The latter is particularly

Re: [PATCH 1/2] middle-end/116083 - vectorizer slowness

2024-12-14 Thread Jeff Law
On 12/3/24 10:07 AM, Richard Biener wrote: Turns out SLP discovery can end up doing a lot of vector type builds from scalar types. Those are all ultimatively cached but end up built and layouted first. The latter is particularly expensive because it does tree node arithmetic to compute TYPE_

[PATCH 1/2] middle-end/116083 - vectorizer slowness

2024-12-03 Thread Richard Biener
Turns out SLP discovery can end up doing a lot of vector type builds from scalar types. Those are all ultimatively cached but end up built and layouted first. The latter is particularly expensive because it does tree node arithmetic to compute TYPE_SIZE and TYPE_SIZE_UNIT. The following replaces