diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-12-03 15:57:42 -0800 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2025-05-13 08:27:31 -0700 |
commit | 2d380abf62dbf6c645fe46a3cea40e2febcd9ca8 (patch) | |
tree | 5a90206f66478511b9540778045a730f9a98f12c /libgfortran/generated/maxloc1_8_s1.c | |
parent | a20c4c034a3009815dcc02d989c1090492ff32b2 (diff) | |
download | gcc-2d380abf62dbf6c645fe46a3cea40e2febcd9ca8.zip gcc-2d380abf62dbf6c645fe46a3cea40e2febcd9ca8.tar.gz gcc-2d380abf62dbf6c645fe46a3cea40e2febcd9ca8.tar.bz2 |
cfgexpand: Reverse the order of going through the update_cache_list queue.
This is a small optimization, the reversed order of the walk of update_cache_list queue.
The queue is pushed in Pre-order/NLR, reversing the order will reduce how many times we
need to go through the loop as we update the nodes which might have a link back to another
one first.
Bootstrapped and tested on x86_64-linux-gnu.
gcc/ChangeLog:
* cfgexpand.cc (vars_ssa_cache::operator()): Reverse the order of the going
through the update list.
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