[Bug target/86209] Peephole does not happen because the type of zero/sign extended operands is not the same.
sameerad at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 20 10:35:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86209
--- Comment #8 from sameerad at gcc dot gnu.org ---
Currently, we are not planning to restrict load/store merging to specific
cases. Restricted merging of loads and stores is already handled by GIMPLE
store-merging pass.
We are combining loads/stores, and then generating extract instructions with
appropriate sign/zero extensions.
W.r.t codesize, it is definitely expensive, and should be avoided. However, for
performance, we want to experiment.
More information about the Gcc-bugs
mailing list