On Fri, Feb 04, 2022 at 09:31:20AM +0100, Richard Biener wrote: > The following happens to improve compile-time of the PR103641 > testcase on aarch64 significantly. I did not investigate the > effect on the generated code but at least in theory > choose_mult_variant should do a better job when we tell it > the actual mode we are going to use for the operations it > synthesizes. > > Bootstrapped and tested on x86_64-unknown-linux-gnu. > > OK for trunk? > > Thanks, > Richard. > > 2022-02-04 Richard Biener <rguent...@suse.de> > > PR tree-optimization/103641 > * tree-vect-patterns.cc (vect_synth_mult_by_constant): > Pass the vector mode to choose_mult_variant.
LGTM. Jakub