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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
lowpart_subreg will not handle CONST the way we'd need (it will just wrap the
CONST into a SUBREG), but the question is if such imm rtxes can make it through
there, because if the offset is non-constant or non-zero, we don't get to this
path, it is only for the zero path.
If strip_offset_and_salt returns a SYMBOL_REF or LABEL_REF, then
aarch64_cannot_force_const_mem should return false for imt_mode != ptr_mode.
The question is what other constants can make it through, is that just
CONST_INTs etc. (i.e. not CONST)?

Reply via email to