RE: [PATCH] Performance/size improvement to single_use when matching GIMPLE.

2022-03-15 Thread Roger Sayle
improving the situation... stay tuned. Cheers, Roger -- > -Original Message- > From: Richard Biener > Sent: 15 March 2022 09:18 > To: Roger Sayle > Cc: 'GCC Patches' ; 'Marc Glisse' > > Subject: Re: [PATCH] Performance/size improvement to sin

Re: [PATCH] Performance/size improvement to single_use when matching GIMPLE.

2022-03-15 Thread Richard Biener via Gcc-patches
On Tue, 15 Mar 2022, Roger Sayle wrote: > > > This patch improves the implementation of single_use as used in code > > generated from match.pd for patterns using :s. The current implementation > > contains the logic "has_zero_uses (t) || has_single_use (t)" which > > performs a loop over th