Re: [PATCH] middle-end/118695 - missed misalign handling in MEM_REF expansion

2025-01-30 Thread Richard Biener
On Thu, 30 Jan 2025, Jakub Jelinek wrote: > On Thu, Jan 30, 2025 at 11:34:16AM +0100, Richard Biener wrote: > > When MEM_REF expansion of a non-MEM falls back to a stack temporary > > we fail to handle the case where the offset adjusted reference to > > the temporary is not aligned according to th

Re: [PATCH] middle-end/118695 - missed misalign handling in MEM_REF expansion

2025-01-30 Thread Jakub Jelinek
On Thu, Jan 30, 2025 at 11:34:16AM +0100, Richard Biener wrote: > When MEM_REF expansion of a non-MEM falls back to a stack temporary > we fail to handle the case where the offset adjusted reference to > the temporary is not aligned according to the requirement of the > mode. We have to go through

[PATCH] middle-end/118695 - missed misalign handling in MEM_REF expansion

2025-01-30 Thread Richard Biener
When MEM_REF expansion of a non-MEM falls back to a stack temporary we fail to handle the case where the offset adjusted reference to the temporary is not aligned according to the requirement of the mode. We have to go through bitfield extraction or movmisalign in this case. Fortunately there's a