diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-12-03 18:57:45 -0800 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2025-05-13 08:27:31 -0700 |
commit | 232f22615857cd83735770d82c7c0178e43bee19 (patch) | |
tree | 3b999a2e5e8fe22c6446563fff52e72a4341cd67 /libgfortran/generated/maxloc1_8_s1.c | |
parent | 2d380abf62dbf6c645fe46a3cea40e2febcd9ca8 (diff) | |
download | gcc-232f22615857cd83735770d82c7c0178e43bee19.zip gcc-232f22615857cd83735770d82c7c0178e43bee19.tar.gz gcc-232f22615857cd83735770d82c7c0178e43bee19.tar.bz2 |
cfgexpand: Update cache during the original DFS walk
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 cache if the use is already
has a cache.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'libgfortran/generated/maxloc1_8_s1.c')
0 files changed, 0 insertions, 0 deletions