Re: [PATCH] Move pass_cse_sincos after vectorizer.

2022-07-20 Thread Hongtao Liu via Gcc-patches
On Wed, Jul 20, 2022 at 3:59 PM Richard Biener via Gcc-patches wrote: > > On Wed, Jul 20, 2022 at 4:20 AM liuhongt wrote: > > > > __builtin_cexpi can't be vectorized since there's gap between it and > > vectorized sincos version(In libmvec, it passes a double and two > > double pointer and return

Re: [PATCH] Move pass_cse_sincos after vectorizer.

2022-07-20 Thread Richard Biener via Gcc-patches
On Wed, Jul 20, 2022 at 4:20 AM liuhongt wrote: > > __builtin_cexpi can't be vectorized since there's gap between it and > vectorized sincos version(In libmvec, it passes a double and two > double pointer and returns nothing.) And it will lose some > vectorization opportunity if sin & cos are opti