Re: [PATCH 2/3] cfgexpand: Update cache during the original DFS walk

2025-05-13 Thread Richard Biener
On Tue, May 13, 2025 at 12:47 AM Andrew Pinski wrote: > > This is a small optimization which can improve how many times are need > through the update loop. > It can reduce the number of times in the update loop by maybe 1 times. > > Bootstrapped and tested on x86_64-linux-gnu. OK. > gcc/ChangeL

[PATCH 2/3] cfgexpand: Update cache during the original DFS walk

2025-05-12 Thread Andrew Pinski
This is a small optimization which can improve how many times are need through the update loop. It can reduce the number of times in the update loop by maybe 1 times. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * cfgexpand.cc (vars_ssa_cache::operator()): Update the cach