diff options
author | Richard Biener <rguenther@suse.de> | 2020-03-12 14:18:35 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-03-12 14:19:36 +0100 |
commit | 1dc00a8ec9aeba86b74b16bff6f171824bb7b4a1 (patch) | |
tree | eadb3fa8164c3ad87d25d9a15f97b463e138cef6 /gcc/resource.c | |
parent | fcc443b97e19d9c8a2d8ccdfa4cc20682165827e (diff) | |
download | gcc-1dc00a8ec9aeba86b74b16bff6f171824bb7b4a1.zip gcc-1dc00a8ec9aeba86b74b16bff6f171824bb7b4a1.tar.gz gcc-1dc00a8ec9aeba86b74b16bff6f171824bb7b4a1.tar.bz2 |
tree-optimization/94103 avoid CSE of loads with padding
VN currently replaces a load of a 16 byte entity 128 bits of precision
(TImode) with the result of a load of a 16 byte entity with 80 bits of
mode precision (XFmode). That will go downhill since if the padding
bits are not actually filled with memory contents those bits are
missing.
2020-03-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/94103
* tree-ssa-sccvn.c (visit_reference_op_load): Avoid type
punning when the mode precision is not sufficient.
* gcc.target/i386/pr94103.c: New testcase.
Diffstat (limited to 'gcc/resource.c')
0 files changed, 0 insertions, 0 deletions