https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48696
--- Comment #21 from rguenther at suse dot de <rguenther at suse dot de> --- On Fri, 20 Dec 2024, ptomsich at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48696 > > ptomsich at gcc dot gnu.org changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |ptomsich at gcc dot gnu.org > > --- Comment #20 from ptomsich at gcc dot gnu.org --- > (In reply to Konstantinos Eleftheriou from comment #19) > > The two loads could be optimized, given that the small load is contained in > > the larger one. This could be handled by "reload" if we extend the size of > > the small load to the size of the large one. > > Note that we are investigating to add the necessary infrastructure in the > store-forward-avoidance pass to merge the two differently-sized loads. This particular case should of course be code-generated more efficiently from the start