aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-02-28 10:08:31 +0100
committerRichard Biener <rguenther@suse.de>2024-05-06 15:12:04 +0200
commit7c469a9fc785505dc350aba60311812c2bb0c1b5 (patch)
tree6a63e69419c71dbadfd6fd4e9e134d9f1e93f92a /gcc/c
parent8bdfb0c2d5a13a4fb846cde291decff06e4b753c (diff)
downloadgcc-7c469a9fc785505dc350aba60311812c2bb0c1b5.zip
gcc-7c469a9fc785505dc350aba60311812c2bb0c1b5.tar.gz
gcc-7c469a9fc785505dc350aba60311812c2bb0c1b5.tar.bz2
tree-optimization/100923 - re-do VN with contextual PTA info fix
The following implements the gist of the PR100923 fix in a leaner (and more complete) way by realizing that all ao_ref_init_from_vn_reference uses need to have an SSA name in the base valueized with availability in mind. Instead of re-valueizing the whole chain of operands we can simply only and always valueize the SSA name we put in the base. This handles also two omitted places in vn_reference_lookup_3. PR tree-optimization/100923 * tree-ssa-sccvn.cc (ao_ref_init_from_vn_reference): Valueize base SSA_NAME. (vn_reference_lookup_3): Adjust vn_context_bb around calls to ao_ref_init_from_vn_reference. (vn_reference_lookup_pieces): Revert original PR100923 fix. (vn_reference_lookup): Likewise.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions