aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-07-07 12:59:47 +0200
committerRichard Biener <rguenther@suse.de>2022-07-07 13:22:31 +0200
commit9fc61fc8da9677db862790a6e522f1e2875096a7 (patch)
treec914bd6e75a680e2179b9ff1c05d16ecb6eb9d34 /libcpp
parent9ef714539cb7cc1cd746312fd5dcc987bf167471 (diff)
downloadgcc-9fc61fc8da9677db862790a6e522f1e2875096a7.zip
gcc-9fc61fc8da9677db862790a6e522f1e2875096a7.tar.gz
gcc-9fc61fc8da9677db862790a6e522f1e2875096a7.tar.bz2
Speedup update-ssa some more
The following avoids copying an sbitmap and one traversal by avoiding to re-allocate old_ssa_names when not necessary. In addition this actually checks what the comment before PHI insert iterating promises, that the old_ssa_names set does not grow. * tree-into-ssa.cc (iterating_old_ssa_names): New. (add_new_name_mapping): Grow {new,old}_ssa_names separately and only when actually needed. Assert we are not growing the old_ssa_names set when iterating over it. (update_ssa): Remove old_ssa_names copying and empty_p query, note we are iterating over it and expect no set changes.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions