]> git.ipfire.org Git - thirdparty/gcc.git/commit
[alpha] adjust MEM alignment for block move [PR115459]
authorAlexandre Oliva <oliva@adacore.com>
Fri, 12 Jul 2024 08:42:07 +0000 (05:42 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 12 Jul 2024 08:42:07 +0000 (05:42 -0300)
commitccfe7151803956d178947d0afda0bd66ce097275
tree2ac3453d9f6ee64ce3b37e9ab72ff849b8d3d760
parentc6f38e5e6d900b8ed6a4f5c126d3197946cad4dd
[alpha] adjust MEM alignment for block move [PR115459]

Before issuing loads or stores for a block move, adjust the MEM
alignments if analysis of the addresses enabled the inference of
stricter alignment.  This ensures that the MEMs are sufficiently
aligned for the corresponding insns, which avoids trouble in case of
e.g. substitutions into SUBREGs.

for  gcc/ChangeLog

PR target/115459
* config/alpha/alpha.cc (alpha_expand_block_move): Adjust
MEMs to match inferred alignment.
gcc/config/alpha/alpha.cc