diff options
author | Richard Biener <rguenther@suse.de> | 2024-06-30 11:37:12 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-07-01 16:20:41 +0200 |
commit | 4d24159a1fcb15e1e28f46aa418de5e1ae384ff5 (patch) | |
tree | 05bf2c87d7e9be344a3d43dc7773eca112b94133 /gcc/ada | |
parent | 7a65ab6b5f38d3018ffd456f278a9fd885487a27 (diff) | |
download | gcc-4d24159a1fcb15e1e28f46aa418de5e1ae384ff5.zip gcc-4d24159a1fcb15e1e28f46aa418de5e1ae384ff5.tar.gz gcc-4d24159a1fcb15e1e28f46aa418de5e1ae384ff5.tar.bz2 |
Preserve SSA info for more propagated copy
Besides VN and copy-prop also CCP and VRP as well as forwprop
propagate out copies and thus it's worthwhile to try to preserve
range and points-to info there when possible.
Note that this also fixes the testcase from PR115701 but that's
because we do not actually intersect info but only copy info when
there was no info present.
* tree-ssa-forwprop.cc (fwprop_set_lattice_val): Preserve
SSA info.
* tree-ssa-propagate.cc
(substitute_and_fold_dom_walker::before_dom_children): Likewise.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions