]> gcc.gnu.org Git - gcc.git/commit
Fix missed CSE with a BLKmode entity
authorRichard Biener <rguenther@suse.de>
Tue, 10 Oct 2023 09:09:16 +0000 (11:09 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 10 Oct 2023 10:35:53 +0000 (12:35 +0200)
commit7c76c876e917a1f20a788f602cc78fff7d0a2a65
tree6d9055784f29bbccbc5705ff7903dcb6e4ff2f4b
parent4d230493f57dd11b8de9155b03088092f2ecea5c
Fix missed CSE with a BLKmode entity

The following fixes fallout of r10-7145-g1dc00a8ec9aeba which made
us cautionous about CSEing a load to an object that has padding bits.
The added check also triggers for BLKmode entities like STRING_CSTs
but by definition a BLKmode entity does not have padding bits.

PR tree-optimization/111751
* tree-ssa-sccvn.cc (visit_reference_op_load): Exempt
BLKmode result from the padding bits check.
gcc/tree-ssa-sccvn.cc
This page took 0.059157 seconds and 5 git commands to generate.