aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-05-31 14:28:37 +0200
committerRichard Biener <rguenther@suse.de>2023-06-06 09:19:35 +0200
commit21bf2b2fd99d7a94049610fc2f82db77f725d025 (patch)
tree8580c647e34003ca018b046f6b8de2bbd5e6cb97 /gcc/expr.cc
parent4d1e4ce986f84a853531ac9c51e37d101e28d15c (diff)
downloadgcc-21bf2b2fd99d7a94049610fc2f82db77f725d025.zip
gcc-21bf2b2fd99d7a94049610fc2f82db77f725d025.tar.gz
gcc-21bf2b2fd99d7a94049610fc2f82db77f725d025.tar.bz2
tree-optimization/109143 - improve PTA compile time
The following improves solution_set_expand to require one less iteration over the bitmap and avoid changing the bitmap we iterate over. Plus we handle adjacent subvars in the ID space (the common case) and use bitmap_set_range. This cuts a bit less than 10% off the PTA time from the testcase in the PR. PR tree-optimization/109143 * tree-ssa-structalias.cc (solution_set_expand): Avoid one bitmap iteration and optimize bit range setting.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions