aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/contracts.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-09-24 12:53:11 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-09-24 12:59:47 +0200
commit9a795b3a5b6a0d8b4b4f38a66ab9782aabead92e (patch)
tree8552e026515d5acda32e1cbea215528d5a8fac8b /gcc/cp/contracts.cc
parent34366176046351250e1beb578664d926fbdd50c9 (diff)
downloadgcc-9a795b3a5b6a0d8b4b4f38a66ab9782aabead92e.zip
gcc-9a795b3a5b6a0d8b4b4f38a66ab9782aabead92e.tar.gz
gcc-9a795b3a5b6a0d8b4b4f38a66ab9782aabead92e.tar.bz2
tree-optimization/114855 - more update_ssa speedup
The following tackles another source of slow bitmap operations, namely populating blocks_to_update. We already have that in tree view around PHI insertion but also the initial population is slow. There's unfortunately a conditional inbetween list view requirement and the bitmap API doesn't allow opportunistic switching but rejects tree -> tree or list -> list transitions. So the following patch wraps the early population in a tree view section with possibly one redundant tree -> list -> tree view transition. This cuts tree SSA incremental from 228.25s (21%) to 65.05s (7%). PR tree-optimization/114855 * tree-into-ssa.cc (update_ssa): Use tree view for the initial population of blocks_to_update.
Diffstat (limited to 'gcc/cp/contracts.cc')
0 files changed, 0 insertions, 0 deletions