diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2021-11-29 14:49:59 +0100 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2021-12-01 17:11:12 +0100 |
commit | 54ebec35abec09a24b47b997172622ca0d8e2318 (patch) | |
tree | a0a6cf09e652417af03fab1fd85e7d5a9d164dce /gcc/gcc.c | |
parent | 056551414a328b427c4bf4955b9a3832f344685c (diff) | |
download | gcc-54ebec35abec09a24b47b997172622ca0d8e2318.zip gcc-54ebec35abec09a24b47b997172622ca0d8e2318.tar.gz gcc-54ebec35abec09a24b47b997172622ca0d8e2318.tar.bz2 |
path solver: Use only one ssa_global_cache.
We're using a temporary range cache while computing ranges for PHIs to
make sure the real cache doesn't get set until all PHIs are computed.
With the ltrans beast in LTO mode this causes undue overhead.
Since we already have a bitmap to indicate whether there's a cache
entry, we can avoid the extra cache object by clearing it while PHIs
are being calculated.
gcc/ChangeLog:
PR tree-optimization/103409
* gimple-range-path.cc (path_range_query::compute_ranges_in_phis):
Do all the work with just one ssa_global_cache.
* gimple-range-path.h: Remove m_tmp_phi_cache.
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions