Re: [PATCH] rtl-optimization/118662 - wrong combination of vector sign-extends

2025-01-27 Thread Richard Sandiford
Richard Biener writes: > On Mon, 27 Jan 2025, Jakub Jelinek wrote: > >> On Mon, Jan 27, 2025 at 11:09:38AM +0100, Richard Biener wrote: >> >PR rtl-optimization/118662 >> >* combine.cc (try_combine): When re-materializing a load >> >from an extended reg by a lowpart subreg make sure we'

Re: [PATCH] rtl-optimization/118662 - wrong combination of vector sign-extends

2025-01-27 Thread Richard Biener
On Mon, 27 Jan 2025, Jakub Jelinek wrote: > On Mon, Jan 27, 2025 at 11:09:38AM +0100, Richard Biener wrote: > > PR rtl-optimization/118662 > > * combine.cc (try_combine): When re-materializing a load > > from an extended reg by a lowpart subreg make sure we're > > dealing with sing

Re: [PATCH] rtl-optimization/118662 - wrong combination of vector sign-extends

2025-01-27 Thread Jakub Jelinek
On Mon, Jan 27, 2025 at 11:09:38AM +0100, Richard Biener wrote: > PR rtl-optimization/118662 > * combine.cc (try_combine): When re-materializing a load > from an extended reg by a lowpart subreg make sure we're > dealing with single-component modes. > > * gcc.dg/tortu