Re: [PATCH] PR tree-optimization/83907: Improved memset handling in strlen pass.

2022-05-12 Thread Jeff Law via Gcc-patches
On 2/20/2022 9:51 AM, Roger Sayle wrote: This patch implements the missed optimization enhancement PR 83907, by handling memset with a constant byte value in tree-ssa's strlen optimization pass. Effectively, this treats memset(dst,'x',3) as it would memcpy(dst,"xxx",3). This patch also

RE: [PATCH] PR tree-optimization/83907: Improved memset handling in strlen pass.

2022-05-12 Thread Roger Sayle
Hi Jeff, Any chance you could take a look at this patch, now that we're back in stage1? Thanks in advance, Roger > -Original Message- > From: Jeff Law > Sent: 02 March 2022 19:33 > To: Roger Sayle ; gcc-patches@gcc.gnu.org > Subject: Re: [PATCH] PR tree-optimization/

Re: [PATCH] PR tree-optimization/83907: Improved memset handling in strlen pass.

2022-03-02 Thread Jeff Law via Gcc-patches
On 2/20/2022 9:51 AM, Roger Sayle wrote: This patch implements the missed optimization enhancement PR 83907, by handling memset with a constant byte value in tree-ssa's strlen optimization pass. Effectively, this treats memset(dst,'x',3) as it would memcpy(dst,"xxx",3). This patch also