Re: [PATCH 2/2] forwprop: Add stats for memcpy->memset

2025-05-27 Thread Richard Biener
On Tue, May 27, 2025 at 5:02 AM Andrew Pinski wrote: > > As part of the review of copy prop for aggregates, it was > mentioned there should be some statistics added, and I noticed > the memcpy->memset was missing the statistics too. So this adds > that. OK. > gcc/ChangeLog: > > * tree-ss

[PATCH 2/2] forwprop: Add stats for memcpy->memset

2025-05-26 Thread Andrew Pinski
As part of the review of copy prop for aggregates, it was mentioned there should be some statistics added, and I noticed the memcpy->memset was missing the statistics too. So this adds that. gcc/ChangeLog: * tree-ssa-forwprop.cc (optimize_memcpy_to_memset): Adds statistics when th