https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93270

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The question that pops up is more general.  If you consider a store with
a mode that has GET_MODE_BITSIZE > GET_MODE_PRECISION, what happens to the
off-precision bits?  So I would guess the DSE issue applies to PSImode on
some targets as well.

We could try to handle this conservatively.  Assume the "worst" for individual
transforms - for loads that the off-precision bits are still "important",
like the HW might trap if they are not in some canonical form, and for DSE
do not assume the bits are touched while for CSEing a load assume they are.

Reply via email to