diff options
author | Richard Biener <rguenther@suse.de> | 2022-11-28 12:38:46 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-12-14 08:48:35 +0100 |
commit | d3fee43fb3873b00de913e0501fbf28b56d2ce64 (patch) | |
tree | dcd34a989970e4848e3619fb54d5249f024ceaf7 /contrib/mark_spam.py | |
parent | 512098a3316f07d4b8bf0e035ab128ed2a50cb5e (diff) | |
download | gcc-d3fee43fb3873b00de913e0501fbf28b56d2ce64.zip gcc-d3fee43fb3873b00de913e0501fbf28b56d2ce64.tar.gz gcc-d3fee43fb3873b00de913e0501fbf28b56d2ce64.tar.bz2 |
tree-optimization/107617 - big-endian .LEN_STORE VN
The following fixes a mistake in interpreting .LEN_STORE definitions
during value-numbering when in big-endian mode. We cannot offset
the encoding of the RHS but instead encode to an offsetted position
which is then treated correctly by the endian aware copying code.
PR tree-optimization/107617
* tree-ssa-sccvn.cc (vn_walk_cb_data::push_partial_def):
Handle negative pd.rhs_off.
(vn_reference_lookup_3): Properly provide pd.rhs_off
for .LEN_STORE on big-endian targets.
Diffstat (limited to 'contrib/mark_spam.py')
0 files changed, 0 insertions, 0 deletions