Re: [committed] Reduce vector comparison of uniform vectors to a scalar comparison

2021-08-30 Thread Jeff Law via Gcc-patches
On 8/30/2021 12:51 AM, Richard Biener wrote: On Fri, Aug 27, 2021 at 9:31 PM Jeff Law via Gcc-patches wrote: I was working some aspects of our port's vector support and stumbled across a bit of silly code. We were comparing two vectors that were both uniform. We can simplify a comparison

Re: [committed] Reduce vector comparison of uniform vectors to a scalar comparison

2021-08-29 Thread Richard Biener via Gcc-patches
On Fri, Aug 27, 2021 at 9:31 PM Jeff Law via Gcc-patches wrote: > > > I was working some aspects of our port's vector support and stumbled > across a bit of silly code. We were comparing two vectors that were > both uniform. > > We can simplify a comparison of uniform vectors to a comparison of a