Re: [PATCH 2/3] tree-optimization/104582 - make SLP node available in vector cost hook

2022-02-21 Thread Richard Biener via Gcc-patches
On Mon, 21 Feb 2022, Richard Sandiford wrote: > Richard Biener writes: > > This adjusts the vectorizer costing API to allow passing down the > > SLP node the vector stmt is created from. > > > > Bootstrapped and tested on x86_64-unknown-linux-gnu, I've built > > aarch64 and rs6000 cc1 crosses. >

Re: [PATCH 2/3] tree-optimization/104582 - make SLP node available in vector cost hook

2022-02-21 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > This adjusts the vectorizer costing API to allow passing down the > SLP node the vector stmt is created from. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, I've built > aarch64 and rs6000 cc1 crosses. > > OK? Not sure about the stmt_info + no node overload. It

[PATCH 2/3] tree-optimization/104582 - make SLP node available in vector cost hook

2022-02-18 Thread Richard Biener via Gcc-patches
This adjusts the vectorizer costing API to allow passing down the SLP node the vector stmt is created from. Bootstrapped and tested on x86_64-unknown-linux-gnu, I've built aarch64 and rs6000 cc1 crosses. OK? Thanks, Richard. 2022-02-18 Richard Biener PR tree-optimization/104582